[Bug bootstrap/36331] [4.4 Regression]: Gcc failed to bootstrap
dfranke at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon May 26 07:16:00 GMT 2008
------- Comment #3 from dfranke at gcc dot gnu dot org 2008-05-26 07:16 -------
Accidently removed the conditional definition of __GNUG__.
This seems to fix it:
> $ svn diff c-cppbuiltin.c
Index: c-cppbuiltin.c
===================================================================
--- c-cppbuiltin.c (revision 135891)
+++ c-cppbuiltin.c (working copy)
@@ -384,6 +384,8 @@ define__GNUC__ (void)
cpp_define_formatted (parse_in, "__GNUC_MINOR__=%d", minor);
cpp_define_formatted (parse_in, "__GNUC_PATCHLEVEL__=%d", patchlevel);
+ if (c_dialect_cxx ())
+ cpp_define_formatted (parse_in, "__GNUG__=%d", major);
}
/* Define macros used by <stdint.h>. Currently only defines limits
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36331
More information about the Gcc-bugs
mailing list