[Bug c/11231] [3.4 regression] undefined array size inside struct cause segfault with -g

pinskia at physics dot uc dot edu gcc-bugzilla@gcc.gnu.org
Mon Jun 23 01:39:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2003-06-18 01:07:25         |2003-06-23 01:38:59
               date|                            |


------- Additional Comments From pinskia at physics dot uc dot edu  2003-06-23 01:38 -------
stubs backtrace (powerpc-apple-darwin6.6):
#0  convert (type=0xef55b0, expr=0x0) at /Volumes/UFS_Partition/pinskia/src/fsf/gcc-
clean/src/gcc/c-convert.c:71
#1  0x00118184 in bit_from_pos (offset=0x118184, bitpos=0x0) at /Volumes/
UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/stor-layout.c:614
#2  0x000b3acc in dbxout_type_fields (type=0xef55b0) at /Volumes/UFS_Partition/
pinskia/src/fsf/gcc-clean/src/gcc/dbxout.c:831
#3  0x000b55f0 in dbxout_type (type=0xf2e930, full=0) at /Volumes/UFS_Partition/
pinskia/src/fsf/gcc-clean/src/gcc/dbxout.c:1665
#4  0x000b61e4 in dbxout_symbol (decl=0xf2e930, local=0) at /Volumes/UFS_Partition/
pinskia/src/fsf/gcc-clean/src/gcc/dbxout.c:2155
#5  0x00070654 in rest_of_decl_compilation (decl=0xf2e930, asmspec=0x40f9ac "", 
top_level=0, at_end=0) at /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/
toplev.c:2207
#6  0x000121ec in finish_decl (decl=0xf2e930, init=0x0, asmspec_tree=0x0) at /
Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/c-decl.c:2932
#7  0x000072b0 in yyparse () at c-parse.y:1355
#8  0x000355a4 in c_common_parse_file (set_yydebug=15685040) at /Volumes/
UFS_Partition/pinskia/src/fsf/gcc-clean/src/gcc/c-opts.c:1194
#9  0x000702cc in compile_file () at /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/
gcc/toplev.c:2060
#10 0x00075f4c in do_compile () at /Volumes/UFS_Partition/pinskia/src/fsf/gcc-clean/src/
gcc/toplev.c:5229
#11 0x00075fdc in toplev_main (argc=15, argv=0xbffffbcc) at /Volumes/UFS_Partition/
pinskia/src/fsf/gcc-clean/src/gcc/toplev.c:5258
#12 0x000023e0 in _start (argc=15, argv=0xbffffbcc, envp=0xbffffc0c) at /SourceCache/
Csu/Csu-45/crt.c:267
#13 0x00002260 in start ()



More information about the Gcc-bugs mailing list