public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/53832] New: [4.8 Regression] error: macro "ggc_alloc_cleared_lang_decl" passed 1 arguments, but takes just 0
@ 2012-07-02 22:49 redi at gcc dot gnu.org
  2012-07-02 23:03 ` [Bug bootstrap/53832] " redi at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: redi at gcc dot gnu.org @ 2012-07-02 22:49 UTC (permalink / raw)
  To: gcc-bugs

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)))


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-07-24 10:56 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-02 22:49 [Bug bootstrap/53832] New: [4.8 Regression] error: macro "ggc_alloc_cleared_lang_decl" passed 1 arguments, but takes just 0 redi at gcc dot gnu.org
2012-07-02 23:03 ` [Bug bootstrap/53832] " redi at gcc dot gnu.org
2012-07-03 10:21 ` rguenth at gcc dot gnu.org
2012-07-03 11:03 ` redi at gcc dot gnu.org
2012-07-04  0:44 ` redi at gcc dot gnu.org
2012-07-15 17:14 ` gary at intrepid dot com
2012-07-15 20:29 ` redi at gcc dot gnu.org
2012-07-19 23:29 ` redi at gcc dot gnu.org
2012-07-24 10:54 ` ubizjak at gmail dot com
2012-07-24 10:56 ` nenad at intrepid dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).