public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/39262]  New: [miro] - Revision 144368 - Werror in ../miro/gcc/genconstants.c
@ 2009-02-22  3:03 rob1weld at aol dot com
  2009-02-22  7:40 ` [Bug bootstrap/39262] " ubizjak at gmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: rob1weld at aol dot com @ 2009-02-22  3:03 UTC (permalink / raw)
  To: gcc-bugs

# gcc/xgcc -v
Using built-in specs.
Target: i386-pc-solaris2.11
Configured with: ../miro/configure solaris2.11
Thread model: posix
gcc version 4.4.0 20080520 (experimental) [miro revision 144368] (GCC) 

# gmake
...
echo timestamp > s-modes-h
/usr/share/src/miro_build/./prev-gcc/xgcc
-B/usr/share/src/miro_build/./prev-gcc/
-B/usr/local/miro/i386-pc-solaris2.11/bin/ -c  -g -O2 -DIN_GCC   -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros       
                 -Wno-overlength-strings -Werror   -DHAVE_CONFIG_H
-DGENERATOR_FILE -I. -Ibuild -I../../miro/gcc -I../../miro/gcc/build
-I../../miro/gcc/../include -I../../miro/gcc/../libcpp/include
-I/usr/local/include -I/usr/local/include -I../../miro/gcc/../libdecnumber
-I../../miro/gcc/../libdecnumber/dpd -I../libdecnumber    -o
build/genconstants.o ../../miro/gcc/genconstants.c
In file included from ./tm.h:24,
                 from ../../miro/gcc/genconstants.c:31:
../../miro/gcc/config/i386/sol2-10.h:113:1: error: "SUBTARGET_RETURN_IN_MEMORY"
redefined
In file included from ./tm.h:18,
                 from ../../miro/gcc/genconstants.c:31:
../../miro/gcc/config/i386/sysv4.h:28:1: error: this is the location of the
previous definition
gmake[3]: *** [build/genconstants.o] Error 1
gmake[3]: Leaving directory `/usr/share/src/miro_build/gcc'
gmake[2]: *** [all-stage2-gcc] Error 2
gmake[2]: Leaving directory `/usr/share/src/miro_build'
gmake[1]: *** [stage2-bubble] Error 2
gmake[1]: Leaving directory `/usr/share/src/miro_build'
gmake: *** [all] Error 2

----------

I am compiling using gcc ./configured with:

# gcc -v
Using built-in specs.
Target: i386-pc-solaris2.11
Configured with: ../gcc_trunk/configure --prefix=/usr/local/gcc4
--enable-languages=ada,c,c++,fortran,java,objc,obj-c++ --enable-shared
--disable-static --enable-multilib --enable-decimal-float
--with-long-double-128 --with-included-gettext --enable-stage1-checking
--enable-checking=release --with-tune=k8 --with-cpu=k8 --with-arch=k8
--with-gnu-as --with-as=/usr/local/bin/as --with-gnu-ld
--with-ld=/usr/local/bin/ld --with-gmp=/usr/local --with-mpfr=/usr/local
--without-ppl --disable-libstdcxx-pch
Thread model: posix
gcc version 4.4.0 20090220 (experimental) [trunk revision 144331] (GCC) 


There are thousands of non-Werror warnings too:

echo timestamp > s-modes-h
gcc -c  -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros       
                              -Wno-overlength-strings -fno-common 
-DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../miro/gcc
-I../../miro/gcc/build -I../../miro/gcc/../include
-I../../miro/gcc/../libcpp/include -I/usr/local/include -I/usr/local/include
-I../../miro/gcc/../libdecnumber -I../../miro/gcc/../libdecnumber/dpd
-I../libdecnumber    -o build/genconstants.o ../../miro/gcc/genconstants.c
In file included from ./tm.h:24,
                 from ../../miro/gcc/genconstants.c:31:
../../miro/gcc/config/i386/sol2-10.h:113:1: warning:
"SUBTARGET_RETURN_IN_MEMORY" redefined
In file included from ./tm.h:18,
                 from ../../miro/gcc/genconstants.c:31:
../../miro/gcc/config/i386/sysv4.h:28:1: warning: this is the location of the
previous definition
In file included from ../../miro/gcc/genconstants.c:32:
../../miro/gcc/rtl.h:200:1: warning: invoking macro VEC_TA_GTY argument 4:
empty macro arguments are undefined in ISO C90 and ISO C++98
../../miro/gcc/rtl.h:201:25: warning: invoking macro VEC_TA_GTY argument 4:
empty macro arguments are undefined in ISO C90 and ISO C++98
../../miro/gcc/rtl.h:202:23: warning: invoking macro VEC_TA_GTY argument 4:
empty macro arguments are undefined in ISO C90 and ISO C++98
gcc -c  -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros       
                              -Wno-overlength-strings -fno-common 
-DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../miro/gcc
-I../../miro/gcc/build -I../../miro/gcc/../include
-I../../miro/gcc/../libcpp/include -I/usr/local/include -I/usr/local/include
-I../../miro/gcc/../libdecnumber -I../../miro/gcc/../libdecnumber/dpd
-I../libdecnumber    -o build/gengenrtl.o ../../miro/gcc/gengenrtl.c
gcc  -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros       
                         -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H
-DGENERATOR_FILE  -o build/gengenrtl \
    build/gengenrtl.o build/errors.o
../build-i386-pc-solaris2.11/libiberty/libiberty.a
build/gengenrtl -h > tmp-genrtl.h
/bin/sh ../../miro/gcc/../move-if-change tmp-genrtl.h genrtl.h
echo timestamp > s-genrtl-h
...
echo timestamp > s-emit
gcc -c  -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros       
                              -Wno-overlength-strings -fno-common 
-DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../miro/gcc
-I../../miro/gcc/build -I../../miro/gcc/../include
-I../../miro/gcc/../libcpp/include -I/usr/local/include -I/usr/local/include
-I../../miro/gcc/../libdecnumber -I../../miro/gcc/../libdecnumber/dpd
-I../libdecnumber    -o build/genextract.o ../../miro/gcc/genextract.c
In file included from ./tm.h:24,
                 from ../../miro/gcc/genextract.c:26:
../../miro/gcc/config/i386/sol2-10.h:113:1: warning:
"SUBTARGET_RETURN_IN_MEMORY" redefined
In file included from ./tm.h:18,
                 from ../../miro/gcc/genextract.c:26:
../../miro/gcc/config/i386/sysv4.h:28:1: warning: this is the location of the
previous definition
In file included from ../../miro/gcc/genextract.c:27:
../../miro/gcc/rtl.h:200:1: warning: invoking macro VEC_TA_GTY argument 4:
empty macro arguments are undefined in ISO C90 and ISO C++98
../../miro/gcc/rtl.h:201:25: warning: invoking macro VEC_TA_GTY argument 4:
empty macro arguments are undefined in ISO C90 and ISO C++98
../../miro/gcc/rtl.h:202:23: warning: invoking macro VEC_TA_GTY argument 4:
empty macro arguments are undefined in ISO C90 and ISO C++98
In file included from ../../miro/gcc/genextract.c:31:
../../miro/gcc/vecprim.h:23:1: warning: invoking macro VEC_TA_GTY argument 4:
empty macro arguments are undefined in ISO C90 and ISO C++98
../../miro/gcc/vecprim.h:24:26: warning: invoking macro VEC_TA_GTY argument 4:
empty macro arguments are undefined in ISO C90 and ISO C++98
../../miro/gcc/vecprim.h:26:1: warning: invoking macro VEC_TA_GTY argument 4:
empty macro arguments are undefined in ISO C90 and ISO C++98
../../miro/gcc/vecprim.h:27:25: warning: invoking macro VEC_TA_GTY argument 4:
empty macro arguments are undefined in ISO C90 and ISO C++98
../../miro/gcc/genextract.c:72:1: warning: invoking macro VEC_TA_GTY argument
4: empty macro arguments are undefined in ISO C90 and ISO C++98
../../miro/gcc/genextract.c:73:28: warning: invoking macro VEC_TA_GTY argument
4: empty macro arguments are undefined in ISO C90 and ISO C++98
gcc  -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros       
                         -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H
-DGENERATOR_FILE  -o build/genextract \
    build/genextract.o build/rtl.o build/read-rtl.o build/ggc-none.o
build/vec.o build/min-insn-modes.o build/gensupport.o build/print-rtl.o
build/errors.o ../build-i386-pc-solaris2.11/libiberty/libiberty.a
build/genextract ../../miro/gcc/config/i386/i386.md \
  insn-conditions.md > tmp-extract.c
...
build/genrecog ../../miro/gcc/config/i386/i386.md \
  insn-conditions.md > tmp-recog.c
../../miro/gcc/config/i386/i386.md:19233: warning: operand 1 missing mode?
../../miro/gcc/config/i386/i386.md:19250: warning: operand 1 missing mode?
../../miro/gcc/config/i386/i386.md:19291: warning: operand 1 missing mode?
../../miro/gcc/config/i386/i386.md:19308: warning: operand 1 missing mode?
/bin/sh ../../miro/gcc/../move-if-change tmp-recog.c insn-recog.c
echo timestamp > s-recog
...
echo timestamp > s-iov
gcc -c  -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros       
                              -Wno-overlength-strings -fno-common 
-DHAVE_CONFIG_H -I. -I. -I../../miro/gcc -I../../miro/gcc/.
-I../../miro/gcc/../include -I../../miro/gcc/../libcpp/include
-I/usr/local/include -I/usr/local/include -I../../miro/gcc/../libdecnumber
-I../../miro/gcc/../libdecnumber/dpd -I../libdecnumber   
../../miro/gcc/c-lang.c -o c-lang.o
In file included from ./tm.h:24,
                 from ../../miro/gcc/c-lang.c:25:
../../miro/gcc/config/i386/sol2-10.h:113:1: warning:
"SUBTARGET_RETURN_IN_MEMORY" redefined
In file included from ./tm.h:18,
                 from ../../miro/gcc/c-lang.c:25:
../../miro/gcc/config/i386/sysv4.h:28:1: warning: this is the location of the
previous definition
In file included from ../../miro/gcc/c-lang.c:26:
../../miro/gcc/tree.h:212:1: warning: invoking macro VEC_TA_GTY argument 4:
empty macro arguments are undefined in ISO C90 and ISO C++98
../../miro/gcc/tree.h:213:24: warning: invoking macro VEC_TA_GTY argument 4:
empty macro arguments are undefined in ISO C90 and ISO C++98
../../miro/gcc/tree.h:214:26: warning: invoking macro VEC_TA_GTY argument 4:
empty macro arguments are undefined in ISO C90 and ISO C++98
../../miro/gcc/tree.h:1564:1: warning: invoking macro VEC_TA_GTY argument 4:
empty macro arguments are undefined in ISO C90 and ISO C++98
../../miro/gcc/tree.h:1565:35: warning: invoking macro VEC_TA_GTY argument 4:
empty macro arguments are undefined in ISO C90 and ISO C++98
In file included from ../../miro/gcc/diagnostic.h:25,
                 from ../../miro/gcc/c-tree.h:26,
                 from ../../miro/gcc/c-lang.c:27:
../../miro/gcc/pretty-print.h:82:1: warning: invoking macro VEC_TA_GTY argument
4: empty macro arguments are undefined in ISO C90 and ISO C++98
../../miro/gcc/pretty-print.h:83:34: warning: invoking macro VEC_TA_GTY
argument 4: empty macro arguments are undefined in ISO C90 and ISO C++98
(thousands more)
...

Rob


-- 
           Summary: [miro] - Revision 144368 - Werror in
                    ../miro/gcc/genconstants.c
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rob1weld at aol dot com
 GCC build triplet: i386-pc-solaris2.11
  GCC host triplet: i386-pc-solaris2.11
GCC target triplet: i386-pc-solaris2.11


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


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

end of thread, other threads:[~2009-02-22 20:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-22  3:03 [Bug bootstrap/39262] New: [miro] - Revision 144368 - Werror in ../miro/gcc/genconstants.c rob1weld at aol dot com
2009-02-22  7:40 ` [Bug bootstrap/39262] " ubizjak at gmail dot com
2009-02-22 12:25 ` pinskia at gcc dot gnu dot org
2009-02-22 12:51 ` rob1weld at aol dot com
2009-02-22 12:56 ` steven at gcc dot gnu dot org
2009-02-22 14:55 ` sebpop at gmail dot com
2009-02-22 20:39 ` rob1weld at aol 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).