From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31756 invoked by alias); 2 Jul 2012 22:49:11 -0000 Received: (qmail 31743 invoked by uid 22791); 2 Jul 2012 22:49:09 -0000 X-SWARE-Spam-Status: No, hits=-3.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_IB X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 02 Jul 2012 22:48:57 +0000 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/53832] New: [4.8 Regression] error: macro "ggc_alloc_cleared_lang_decl" passed 1 arguments, but takes just 0 Date: Mon, 02 Jul 2012 22:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2012-07/txt/msg00298.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53832 Bug #: 53832 Summary: [4.8 Regression] error: macro "ggc_alloc_cleared_lang_decl" passed 1 arguments, but takes just 0 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned@gcc.gnu.org ReportedBy: redi@gcc.gnu.org Host: x86_64-unknown-netbsd5.1 Target: x86_64-unknown-netbsd5.1 Build: x86_64-unknown-netbsd5.1 gcc -c -DIN_GCC_FRONTEND -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -I. -Icp -I/home/jwakely/src/gcc/gcc -I/home/jwakely/src/gcc/gcc/cp -I/home/jwakely/src/gcc/gcc/../include -I/home/jwakely/src/gcc/gcc/../libcpp/include -I/home/jwakely/build/./gmp -I/home/jwakely/src/gcc/gmp -I/home/jwakely/build/./mpfr -I/home/jwakely/src/gcc/mpfr -I/home/jwakely/src/gcc/mpc/src -I/home/jwakely/src/gcc/gcc/../libdecnumber -I/home/jwakely/src/gcc/gcc/../libdecnumber/dpd -I../libdecnumber /home/jwakely/src/gcc/gcc/cp/lex.c -o cp/lex.o /home/jwakely/src/gcc/gcc/cp/lex.c:559:41: error: macro "ggc_alloc_cleared_lang_decl" passed 1 arguments, but takes just 0 /home/jwakely/src/gcc/gcc/cp/lex.c: In function 'retrofit_lang_decl': /home/jwakely/src/gcc/gcc/cp/lex.c:559: error: 'ggc_alloc_cleared_lang_decl' undeclared (first use in this function) /home/jwakely/src/gcc/gcc/cp/lex.c:559: error: (Each undeclared identifier is reported only once /home/jwakely/src/gcc/gcc/cp/lex.c:559: error: for each function it appears in.) /home/jwakely/src/gcc/gcc/cp/lex.c:600:33: error: macro "ggc_alloc_lang_decl" passed 1 arguments, but takes just 0 /home/jwakely/src/gcc/gcc/cp/lex.c: In function 'cxx_dup_lang_specific_decl': /home/jwakely/src/gcc/gcc/cp/lex.c:600: error: 'ggc_alloc_lang_decl' undeclared (first use in this function) gmake[2]: *** [cp/lex.o] Error 1 gmake[2]: Leaving directory `/home/jwakely/build/gcc' gmake[1]: *** [all-gcc] Error 2 gmake[1]: Leaving directory `/home/jwakely/build' gmake: *** [all] Error 2 Configured with /home/jwakely/src/gcc/configure --prefix=/home/jwakely/gcc/4.x --with-system-zlib --with-gnu-ld --with-gnu-as --disable-nls --disable-libquadmath --enable-languages=c,c++ --disable-libmudflap --disable-bootstrap --disable-libitm --disable-decimal-float Bootstrap compile is gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120) Configuring without --disable-bootstrap also fails, in stage 1. The definitions in gtype-desc.h are #define ggc_alloc_lang_decl() ((struct lang_decl *)(ggc_internal_alloc_stat (sizeof (struct lang_decl) MEM_STAT_INFO))) #define ggc_alloc_cleared_lang_decl() ((struct lang_decl *)(ggc_internal_cleared_alloc_stat (sizeof (struct lang_decl) MEM_STAT_INFO)))