diff options
author | Nathan Sidwell <nathan@acm.org> | 1999-03-25 03:50:45 +0000 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 1999-03-24 22:50:45 -0500 |
commit | 45075bf3dfcfac0abc6b63a5a948aef785514f4a (patch) | |
tree | cee5d196152b91e53f80d7715ee3ea979455e6ab /gcc | |
parent | 0b9c1e4dc4d6ce7d28d8be00bd28dd0ef76dc861 (diff) | |
download | gcc-45075bf3dfcfac0abc6b63a5a948aef785514f4a.zip gcc-45075bf3dfcfac0abc6b63a5a948aef785514f4a.tar.gz gcc-45075bf3dfcfac0abc6b63a5a948aef785514f4a.tar.bz2 |
decl.c (init_decl_processing): Add `signed' type as a synonym for `int'.
* decl.c (init_decl_processing): Add `signed' type as a synonym
for `int'.
From-SVN: r25970
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/decl.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 1a5033f..6ed08ef 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +1999-03-25 Nathan Sidwell <nathan@acm.org> + + * decl.c (init_decl_processing): Add `signed' type as a synonym + for `int'. + 1999-03-25 Jason Merrill <jason@yorick.cygnus.com> * typeck.c (common_type): Handle cv-qual unification for pointers diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index f5e2902..86bf6d9 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -5963,6 +5963,9 @@ init_decl_processing () : make_unsigned_type (CHAR_TYPE_SIZE)); record_builtin_type (RID_CHAR, "char", char_type_node); + /* `signed' is the same as `int' */ + record_builtin_type (RID_SIGNED, NULL_PTR, integer_type_node); + long_integer_type_node = make_signed_type (LONG_TYPE_SIZE); record_builtin_type (RID_LONG, "long int", long_integer_type_node); |