Commit e139d296 by Alexandre Oliva Committed by Jeff Law

dwarfout.c (fundamental_type_code): Return FT_boolean for INTEGER_TYPE with…

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
parent 9ba8c733
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> Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
* global.c (prune_preferences): Move some invariants out of the * global.c (prune_preferences): Move some invariants out of the
......
...@@ -1413,6 +1413,10 @@ fundamental_type_code (type) ...@@ -1413,6 +1413,10 @@ fundamental_type_code (type)
if (TYPE_PRECISION (type) == CHAR_TYPE_SIZE) if (TYPE_PRECISION (type) == CHAR_TYPE_SIZE)
return (TREE_UNSIGNED (type) ? FT_unsigned_char : FT_char); 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 (); abort ();
case REAL_TYPE: case REAL_TYPE:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment