From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3944 invoked by alias); 26 May 2008 07:17:47 -0000 Received: (qmail 3813 invoked by uid 48); 26 May 2008 07:17:03 -0000 Date: Mon, 26 May 2008 07:17:00 -0000 Message-ID: <20080526071703.3812.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug bootstrap/36331] [4.4 Regression]: Gcc failed to bootstrap In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "hjl dot tools at gmail dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-05/txt/msg01906.txt.bz2 ------- 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 . 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