gengtype.c (main): Make uintptr_t a known type.
gcc/ 2012-04-10 Tristan Gingold <gingold@adacore.com> * gengtype.c (main): Make uintptr_t a known type. include/ 2012-04-10 Tristan Gingold <gingold@adacore.com> * splay-tree.h: Conditionnaly includes stdint.h and inttypes.h (libi_uhostptr_t, libi_shostptr_t): Remove, replaced by uintptr_t. From-SVN: r186269
This commit is contained in:
parent
26eb69c619
commit
5973ae1ac2
|
@ -1,3 +1,7 @@
|
||||||
|
2012-04-10 Tristan Gingold <gingold@adacore.com>
|
||||||
|
|
||||||
|
* gengtype.c (main): Make uintptr_t a known type.
|
||||||
|
|
||||||
2012-04-10 Richard Guenther <rguenther@suse.de>
|
2012-04-10 Richard Guenther <rguenther@suse.de>
|
||||||
|
|
||||||
* tree-pass.h (tree_lowering_passes): Remove.
|
* tree-pass.h (tree_lowering_passes): Remove.
|
||||||
|
|
|
@ -4976,6 +4976,7 @@ main (int argc, char **argv)
|
||||||
POS_HERE (do_scalar_typedef ("double_int", &pos));
|
POS_HERE (do_scalar_typedef ("double_int", &pos));
|
||||||
POS_HERE (do_scalar_typedef ("uint64_t", &pos));
|
POS_HERE (do_scalar_typedef ("uint64_t", &pos));
|
||||||
POS_HERE (do_scalar_typedef ("uint8", &pos));
|
POS_HERE (do_scalar_typedef ("uint8", &pos));
|
||||||
|
POS_HERE (do_scalar_typedef ("uintptr_t", &pos));
|
||||||
POS_HERE (do_scalar_typedef ("jword", &pos));
|
POS_HERE (do_scalar_typedef ("jword", &pos));
|
||||||
POS_HERE (do_scalar_typedef ("JCF_u2", &pos));
|
POS_HERE (do_scalar_typedef ("JCF_u2", &pos));
|
||||||
POS_HERE (do_scalar_typedef ("void", &pos));
|
POS_HERE (do_scalar_typedef ("void", &pos));
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
2012-04-10 Tristan Gingold <gingold@adacore.com>
|
||||||
|
|
||||||
|
* splay-tree.h: Conditionnaly includes stdint.h and inttypes.h
|
||||||
|
(libi_uhostptr_t, libi_shostptr_t): Remove, replaced by uintptr_t.
|
||||||
|
|
||||||
2012-01-26 Cary Coutant <ccoutant@google.com>
|
2012-01-26 Cary Coutant <ccoutant@google.com>
|
||||||
|
|
||||||
* dwarf2.h (enum dwarf_form): Add Fission extensions.
|
* dwarf2.h (enum dwarf_form): Add Fission extensions.
|
||||||
|
|
|
@ -37,18 +37,11 @@ extern "C" {
|
||||||
|
|
||||||
#include "ansidecl.h"
|
#include "ansidecl.h"
|
||||||
|
|
||||||
#ifndef _WIN64
|
#ifdef HAVE_STDINT_H
|
||||||
typedef unsigned long int libi_uhostptr_t;
|
#include <stdint.h>
|
||||||
typedef long int libi_shostptr_t;
|
|
||||||
#else
|
|
||||||
#ifdef __GNUC__
|
|
||||||
__extension__
|
|
||||||
#endif
|
#endif
|
||||||
typedef unsigned long long libi_uhostptr_t;
|
#ifdef HAVE_INTTYPES_H
|
||||||
#ifdef __GNUC__
|
#include <inttypes.h>
|
||||||
__extension__
|
|
||||||
#endif
|
|
||||||
typedef long long libi_shostptr_t;
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef GTY
|
#ifndef GTY
|
||||||
|
@ -59,8 +52,8 @@ extern "C" {
|
||||||
these types, if necessary. These types should be sufficiently wide
|
these types, if necessary. These types should be sufficiently wide
|
||||||
that any pointer or scalar can be cast to these types, and then
|
that any pointer or scalar can be cast to these types, and then
|
||||||
cast back, without loss of precision. */
|
cast back, without loss of precision. */
|
||||||
typedef libi_uhostptr_t splay_tree_key;
|
typedef uintptr_t splay_tree_key;
|
||||||
typedef libi_uhostptr_t splay_tree_value;
|
typedef uintptr_t splay_tree_value;
|
||||||
|
|
||||||
/* Forward declaration for a node in the tree. */
|
/* Forward declaration for a node in the tree. */
|
||||||
typedef struct splay_tree_node_s *splay_tree_node;
|
typedef struct splay_tree_node_s *splay_tree_node;
|
||||||
|
|
Loading…
Reference in New Issue