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

--- Comment #1 from Jay <jay.krell at cornell dot edu> 2010-12-28 13:50:06 UTC 
---
I put #define ENABLE_CHECKING_GCC_VERSION ((GCC_VERSION > 3003) ||
(!defined(__cplusplus) && (GCC_VERSION > 2007)))
 in include/ansidecl.h after #define GCC_VERSION and I && this with the #if
FOO_CHECKING in rtl.h, tree.h, ira-int.h.


Alternatively, reject g++ < 3.4 entirely, or if enable-checking.
Or, well, I'm using -disable-bootstrap, and probably checking is never enabled
in the first phase anyway, so this all would just work if I didn't use that.
The patch is ok, but it might never make a difference if I didn't
-disable-bootstrap.


But I really really really like -disable-bootstrap, given how little I build,
which is still a very useful amount, it saves a ton (just libbackend.a and a
small frontend, no libraries, and I patched out gmp/mpfr/mpc dependencies, so
overall build is short even on slower machines (we run a range of machines..)).

Reply via email to