From: Nathan Sidwell Date: Thu, 25 Mar 1999 03:50:45 +0000 (+0000) Subject: decl.c (init_decl_processing): Add `signed' type as a synonym for `int'. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=45075bf3dfcfac0abc6b63a5a948aef785514f4a;p=gcc.git 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 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 1a5033f5458..6ed08ef205f 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +1999-03-25 Nathan Sidwell + + * decl.c (init_decl_processing): Add `signed' type as a synonym + for `int'. + 1999-03-25 Jason Merrill * typeck.c (common_type): Handle cv-qual unification for pointers diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index f5e290205bb..86bf6d92a10 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);