public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/15937] New: miscompiles gengtype of HEAD as bootstrap compiler
@ 2004-06-11 11:14 rguenth at tat dot physik dot uni-tuebingen dot de
  2004-06-11 11:16 ` [Bug rtl-optimization/15937] " rguenth at tat dot physik dot uni-tuebingen dot de
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: rguenth at tat dot physik dot uni-tuebingen dot de @ 2004-06-11 11:14 UTC (permalink / raw)
  To: gcc-bugs

3.3.4 miscompiles gengtype if used as host compiler during bootstrap:

gcc -c   -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes     -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I.
-I../../src/gcc-3.5/gcc -I../../src/gcc-3.5/gcc/.
-I../../src/gcc-3.5/gcc/../include -I../../src/gcc-3.5/gcc/../libcpp/include
-I../../src/gcc-3.5/gcc/../libbanshee/libcompat
-I../../src/gcc-3.5/gcc/../libbanshee
-I../../src/gcc-3.5/gcc/../libbanshee/points-to 
../../src/gcc-3.5/gcc/gengtype.c -o gengtype.o
flex  -ogengtype-lex.c ../../src/gcc-3.5/gcc/gengtype-lex.l
bison  -d -o gengtype-yacc.c ../../src/gcc-3.5/gcc/gengtype-yacc.y
gcc -c   -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes   -Wno-error  -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I.
-I../../src/gcc-3.5/gcc -I../../src/gcc-3.5/gcc/.
-I../../src/gcc-3.5/gcc/../include -I../../src/gcc-3.5/gcc/../libcpp/include
-I../../src/gcc-3.5/gcc/../libbanshee/libcompat
-I../../src/gcc-3.5/gcc/../libbanshee
-I../../src/gcc-3.5/gcc/../libbanshee/points-to  \
 gengtype-lex.c -o gengtype-lex.o
gengtype-lex.c:3245: warning: no previous prototype for `yyget_lineno'
gengtype-lex.c:3254: warning: no previous prototype for `yyget_in'
gengtype-lex.c:3262: warning: no previous prototype for `yyget_out'
gengtype-lex.c:3270: warning: no previous prototype for `yyget_leng'
gengtype-lex.c:3279: warning: no previous prototype for `yyget_text'
gengtype-lex.c:3288: warning: no previous prototype for `yyset_lineno'
gengtype-lex.c:3300: warning: no previous prototype for `yyset_in'
gengtype-lex.c:3305: warning: no previous prototype for `yyset_out'
gengtype-lex.c:3310: warning: no previous prototype for `yyget_debug'
gengtype-lex.c:3315: warning: no previous prototype for `yyset_debug'
gengtype-lex.c:3321: warning: no previous prototype for `yylex_destroy'
gcc -c   -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes   -Wno-error  -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I.
-I../../src/gcc-3.5/gcc -I../../src/gcc-3.5/gcc/.
-I../../src/gcc-3.5/gcc/../include -I../../src/gcc-3.5/gcc/../libcpp/include
-I../../src/gcc-3.5/gcc/../libbanshee/libcompat
-I../../src/gcc-3.5/gcc/../libbanshee
-I../../src/gcc-3.5/gcc/../libbanshee/points-to  \
 gengtype-yacc.c -o gengtype-yacc.o
gcc   -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes     -DHAVE_CONFIG_H -DGENERATOR_FILE  -o gengtype \
 gengtype.o gengtype-lex.o gengtype-yacc.o ../libiberty/libiberty.a
./gengtype
../../src/gcc-3.5/gcc/rtl.h:265: duplicate structure definition
../../src/gcc-3.5/gcc/rtl.h:265: previous definition here
../../src/gcc-3.5/gcc/rtl.h:265: duplicate structure definition
../../src/gcc-3.5/gcc/rtl.h:265: previous definition here
../../src/gcc-3.5/gcc/rtl.h:265: duplicate structure definition
../../src/gcc-3.5/gcc/rtl.h:265: previous definition here
../../src/gcc-3.5/gcc/rtl.h:265: duplicate structure definition
../../src/gcc-3.5/gcc/rtl.h:265: previous definition here
../../src/gcc-3.5/gcc/rtl.h:265: duplicate structure definition
../../src/gcc-3.5/gcc/rtl.h:265: previous definition here
../../src/gcc-3.5/gcc/rtl.h:265: duplicate structure definition
../../src/gcc-3.5/gcc/rtl.h:265: previous definition here
../../src/gcc-3.5/gcc/rtl.h:265: duplicate structure definition
../../src/gcc-3.5/gcc/rtl.h:265: previous definition here
../../src/gcc-3.5/gcc/rtl.h:265: duplicate structure definition
../../src/gcc-3.5/gcc/rtl.h:265: previous definition here
make[2]: *** [s-gtype] Segmentation fault
make[2]: Leaving directory `/net/natasa/scratch/natasa/rguenth/gcc-obj-3.5/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/net/natasa/scratch/natasa/rguenth/gcc-obj-3.5/gcc'
make: *** [bootstrap] Error 2

using 3.4.0 as host compiler makes it past this point.  This is the debian
version of the 3.3.4 release:
natasa:rguenth> gcc --version
gcc (GCC) 3.3.4 (Debian)
natasa:rguenth> dpkg -l gcc-3.3
ii  gcc-3.3          3.3.4-1          The GNU C compiler

-- 
           Summary: miscompiles gengtype of HEAD as bootstrap compiler
           Product: gcc
           Version: 3.3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at tat dot physik dot uni-tuebingen dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: ia64-unknown-linux-gnu
  GCC host triplet: ia64-unknown-linux-gnu
GCC target triplet: ia64-unknown-linux-gnu


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


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

end of thread, other threads:[~2004-06-26 22:00 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-11 11:14 [Bug rtl-optimization/15937] New: miscompiles gengtype of HEAD as bootstrap compiler rguenth at tat dot physik dot uni-tuebingen dot de
2004-06-11 11:16 ` [Bug rtl-optimization/15937] " rguenth at tat dot physik dot uni-tuebingen dot de
2004-06-11 11:17 ` rguenth at tat dot physik dot uni-tuebingen dot de
2004-06-11 11:18 ` rguenth at tat dot physik dot uni-tuebingen dot de
2004-06-11 11:21 ` rguenth at tat dot physik dot uni-tuebingen dot de
2004-06-11 13:16 ` [Bug middle-end/15937] [3.3 only] " pinskia at gcc dot gnu dot org
2004-06-11 22:22 ` pinskia at gcc dot gnu dot org
2004-06-17  6:24 ` wilson at gcc dot gnu dot org
2004-06-17  7:48 ` rguenth at tat dot physik dot uni-tuebingen dot de
2004-06-17  8:04 ` rguenth at tat dot physik dot uni-tuebingen dot de
2004-06-17 22:55 ` wilson at specifixinc dot com
2004-06-17 23:02 ` wilson at specifixinc dot com
2004-06-24 22:12 ` rguenth at tat dot physik dot uni-tuebingen dot de
2004-06-26 20:17 ` rguenth at tat dot physik dot uni-tuebingen dot de
2004-06-26 21:04 ` rguenth at tat dot physik dot uni-tuebingen dot de
2004-06-26 22:01 ` rguenth at tat dot physik dot uni-tuebingen dot de

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