[Bug other/46333] problems with configure -enable-build-with-cxx -disable-bootstrap

jay.krell at cornell dot edu gcc-bugzilla@gcc.gnu.org
Sun Nov 7 00:28:00 GMT 2010


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46333

--- Comment #7 from Jay <jay.krell at cornell dot edu> 2010-11-07 00:28:39 UTC ---
rtl.c:
"../../gcc-4.5/gcc/rtl.def", line 82: Error: Badly formed constant expression.
"../../gcc-4.5/gcc/rtl.def", line 89: Error: "}" expected instead of "sizeof".


rtl.c, change:

#define DEF_RTL_EXPR(ENUM, NAME, FORMAT, CLASS)   sizeof FORMAT - 1 ,

to:

#define DEF_RTL_EXPR(ENUM, NAME, FORMAT, CLASS)   sizeof (FORMAT) - 1 ,

seems to work. Seems preferable too.



More information about the Gcc-bugs mailing list