[Bug bootstrap/36331] [4.4 Regression]: Gcc failed to bootstrap

hjl dot tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon May 26 07:17:00 GMT 2008



------- Comment #4 from hjl dot tools at gmail dot com  2008-05-26 07:17 -------
(In reply to comment #3)
> 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
> 

Can you double what else you may have removed by accident? Thanks.


-- 


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



More information about the Gcc-bugs mailing list