mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-09 17:11:20 +08:00
dwarfout.c (fundamental_type_code): Return FT_boolean for INTEGER_TYPE with precision==1, it's __java_boolean.
* dwarfout.c (fundamental_type_code): Return FT_boolean for INTEGER_TYPE with precision==1, it's __java_boolean. From-SVN: r28696
This commit is contained in:
parent
9ba8c7330e
commit
e139d29653
@ -1,3 +1,8 @@
|
||||
Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
|
||||
|
||||
* dwarfout.c (fundamental_type_code): Return FT_boolean for
|
||||
INTEGER_TYPE with precision==1, it's __java_boolean.
|
||||
|
||||
Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
|
||||
|
||||
* global.c (prune_preferences): Move some invariants out of the
|
||||
|
@ -1413,6 +1413,10 @@ fundamental_type_code (type)
|
||||
if (TYPE_PRECISION (type) == CHAR_TYPE_SIZE)
|
||||
return (TREE_UNSIGNED (type) ? FT_unsigned_char : FT_char);
|
||||
|
||||
/* In C++, __java_boolean is an INTEGER_TYPE with precision == 1 */
|
||||
if (TYPE_PRECISION (type) == 1)
|
||||
return FT_boolean;
|
||||
|
||||
abort ();
|
||||
|
||||
case REAL_TYPE:
|
||||
|
Loading…
x
Reference in New Issue
Block a user