This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/7936] gcc-3.2 crash
- From: "mmokrejs at natur dot cuni dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jun 2003 12:27:20 -0000
- Subject: [Bug optimization/7936] gcc-3.2 crash
- References: <20020916133601.7936.mmokrejs@natur.cuni.cz>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7936
------- Additional Comments From mmokrejs@natur.cuni.cz 2003-06-02 12:27 -------
So, I rechecked with gcc-3.3 on same machine:
$ ../configure --prefix=/software/@sys/usr
[...]
Configuring gcc...
loading cache ../config.cache
checking LIBRARY_PATH variable... ok
checking GCC_EXEC_PREFIX variable... ok
checking host system type... sparc-sun-solaris2.6
checking target system type... sparc-sun-solaris2.6
checking build system type... sparc-sun-solaris2.6
checking for gcc... (cached) gcc
[...]
checking assembler --gdwarf2 support... yes
checking assembler --gstabs support... yes
checking linker read-only and read-write section mixing... grep: illegal option -- A
grep: illegal option -- 1
Usage: grep -hblcnsviw pattern file . . .
checking linker PT_GNU_EH_FRAME support... yes
Using ggc-page for garbage collection.
[...]
$ make bootstrap
[...]
gcc -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H
-I/software/@sys/usr/include -I/software/@sys/usr/include/ncurses
-I/software/@sys/usr/openssl/include -I/software/@sys/usr/include/freetype2
-I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include
../../gcc/dwarf2asm.c -o dwarf2asm.o
In file included from ../../gcc/dwarf2asm.c:29:
../../gcc/dwarf2asm.h:26: parse error before "ATTRIBUTE_NULL_PRINTF_3"
../../gcc/dwarf2asm.h:26: warning: type defaults to `int' in declaration of
`ATTRIBUTE_NULL_PRINTF_3'
../../gcc/dwarf2asm.h:26: ISO C forbids data definition with no type or storage
class
../../gcc/dwarf2asm.h:31: parse error before "ATTRIBUTE_NULL_PRINTF_4"
../../gcc/dwarf2asm.h:31: warning: type defaults to `int' in declaration of
`ATTRIBUTE_NULL_PRINTF_4'
../../gcc/dwarf2asm.h:31: ISO C forbids data definition with no type or storage
class
../../gcc/dwarf2asm.h:35: parse error before "ATTRIBUTE_NULL_PRINTF_3"
../../gcc/dwarf2asm.h:35: warning: type defaults to `int' in declaration of
`ATTRIBUTE_NULL_PRINTF_3'
../../gcc/dwarf2asm.h:35: ISO C forbids data definition with no type or storage
class
../../gcc/dwarf2asm.h:39: parse error before "ATTRIBUTE_NULL_PRINTF_3"
../../gcc/dwarf2asm.h:39: warning: type defaults to `int' in declaration of
`ATTRIBUTE_NULL_PRINTF_3'
../../gcc/dwarf2asm.h:39: ISO C forbids data definition with no type or storage
class
../../gcc/dwarf2asm.h:43: parse error before "ATTRIBUTE_NULL_PRINTF_3"
../../gcc/dwarf2asm.h:43: warning: type defaults to `int' in declaration of
`ATTRIBUTE_NULL_PRINTF_3'
../../gcc/dwarf2asm.h:43: ISO C forbids data definition with no type or storage
class
../../gcc/dwarf2asm.h:47: parse error before "ATTRIBUTE_NULL_PRINTF_3"
../../gcc/dwarf2asm.h:47: warning: type defaults to `int' in declaration of
`ATTRIBUTE_NULL_PRINTF_3'
../../gcc/dwarf2asm.h:47: ISO C forbids data definition with no type or storage
class
../../gcc/dwarf2asm.h:51: parse error before "ATTRIBUTE_NULL_PRINTF_3"
../../gcc/dwarf2asm.h:51: warning: type defaults to `int' in declaration of
`ATTRIBUTE_NULL_PRINTF_3'
../../gcc/dwarf2asm.h:51: ISO C forbids data definition with no type or storage
class
../../gcc/dwarf2asm.h:55: parse error before "ATTRIBUTE_NULL_PRINTF_3"
../../gcc/dwarf2asm.h:55: warning: type defaults to `int' in declaration of
`ATTRIBUTE_NULL_PRINTF_3'
../../gcc/dwarf2asm.h:55: ISO C forbids data definition with no type or storage
class
../../gcc/dwarf2asm.h:59: parse error before "ATTRIBUTE_NULL_PRINTF_2"
../../gcc/dwarf2asm.h:59: warning: type defaults to `int' in declaration of
`ATTRIBUTE_NULL_PRINTF_2'
../../gcc/dwarf2asm.h:59: ISO C forbids data definition with no type or storage
class
../../gcc/dwarf2asm.h:63: parse error before "ATTRIBUTE_NULL_PRINTF_2"
../../gcc/dwarf2asm.h:63: warning: type defaults to `int' in declaration of
`ATTRIBUTE_NULL_PRINTF_2'
../../gcc/dwarf2asm.h:63: ISO C forbids data definition with no type or storage
class
../../gcc/dwarf2asm.h:67: parse error before "ATTRIBUTE_NULL_PRINTF_3"
../../gcc/dwarf2asm.h:67: warning: type defaults to `int' in declaration of
`ATTRIBUTE_NULL_PRINTF_3'
../../gcc/dwarf2asm.h:67: ISO C forbids data definition with no type or storage
class
../../gcc/dwarf2asm.h:71: parse error before "ATTRIBUTE_NULL_PRINTF_3"
../../gcc/dwarf2asm.h:71: warning: type defaults to `int' in declaration of
`ATTRIBUTE_NULL_PRINTF_3'
../../gcc/dwarf2asm.h:71: ISO C forbids data definition with no type or storage
class
../../gcc/dwarf2asm.c:70: warning: no previous prototype for `dw2_asm_output_data'
../../gcc/dwarf2asm.c:100: warning: no previous prototype for `dw2_asm_output_delta'
../../gcc/dwarf2asm.c:134: warning: no previous prototype for
`dw2_asm_output_offset'
../../gcc/dwarf2asm.c:163: warning: no previous prototype for `dw2_asm_output_pcrel'
../../gcc/dwarf2asm.c:193: warning: no previous prototype for `dw2_asm_output_addr'
../../gcc/dwarf2asm.c:216: warning: no previous prototype for
`dw2_asm_output_addr_rtx'
../../gcc/dwarf2asm.c:237: warning: no previous prototype for
`dw2_asm_output_nstring'
../../gcc/dwarf2asm.c:510: warning: no previous prototype for
`dw2_asm_output_data_uleb128'
../../gcc/dwarf2asm.c:572: warning: no previous prototype for
`dw2_asm_output_data_sleb128'
../../gcc/dwarf2asm.c:636: warning: no previous prototype for
`dw2_asm_output_delta_uleb128'
../../gcc/dwarf2asm.c:665: warning: no previous prototype for
`dw2_asm_output_delta_sleb128'
../../gcc/dwarf2asm.c:826: warning: no previous prototype for
`dw2_asm_output_encoded_addr_rtx'
make[2]: *** [dwarf2asm.o] Error 1
make[2]: Leaving directory `/scratch/mmokrejs/gcc-3.3/dist/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/scratch/mmokrejs/gcc-3.3/dist/gcc'
make: *** [bootstrap] Error 2
$ gcc --version
3.0.4
$ uname -a
SunOS pf-i400 5.6 Generic_105181-33 sun4u sparc SUNW,Ultra-30
$ echo $CC
gcc
$ echo $CXX
g++
$ echo $CFLAGS
-I/software/@sys/usr/include -I/software/@sys/usr/include/ncurses
-I/software/@sys/usr/openssl/include -I/software/@sys/usr/include/freetype2
$ echo $CXXFLAGS
-I/software/@sys/usr/include -I/software/@sys/usr/include/ncurses
-I/software/@sys/usr/openssl/include -I/software/@sys/usr/include/freetype2
$ echo $CPPFLAGS
-I/software/@sys/usr/include -I/software/@sys/usr/include/ncurses
-I/software/@sys/usr/openssl/include -I/software/@sys/usr/include/freetype2
$
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.