[Bug debug/30645] New: Failure to build 20001226-1.c with -O2 -g
fxcoudert at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Jan 30 18:43:00 GMT 2007
$ i386-pc-mingw32-gcc 20001226-1.c -O2 -g -c
/cygdrive/c/DOCUME~1/coudert/LOCALS~1/Temp/ccmKZvVp.s: Assembler messages:
/cygdrive/c/DOCUME~1/coudert/LOCALS~1/Temp/ccmKZvVp.s:0: Warning: end of file
in string; '"' inserted
/cygdrive/c/DOCUME~1/coudert/LOCALS~1/Temp/ccmKZvVp.s:20: Warning: .stabs:
missing comma
Indeed, the assembly file is truncated:
$ cat 20001226-1.s
.file "20001226-1.c"
.stabs "/home/coudert/cross-mingw32/usr/",100,0,2,Ltext0
.stabs "20001226-1.c",100,0,2,Ltext0
.text
Ltext0:
.stabs "gcc2_compiled.",60,0,0,0
.stabs "int:t(0,1)=r(0,1);-2147483648;2147483647;",128,0,0,0
.stabs "char:t(0,2)=r(0,2);0;127;",128,0,0,0
.stabs "long int:t(0,3)=r(0,3);-2147483648;2147483647;",128,0,0,0
.stabs "unsigned int:t(0,4)=r(0,4);0;037777777777;",128,0,0,0
.stabs "long unsigned int:t(0,5)=r(0,5);0;037777777777;",128,0,0,0
.stabs "long long
int:t(0,6)=@s64;r(0,6);01000000000000000000000;0777777777777777777777;",128,0,0,0
.stabs "long long unsigned
int:t(0,7)=@s64;r(0,7);0;01777777777777777777777;",128,0,0,0
.stabs "short int:t(0,8)=@s16;r(0,8);-32768;32767;",128,0,0,0
.stabs "short unsigned int:t(0,9)=@s16;r(0,9);0;65535;",128,0,0,0
.stabs "signed char:t(0,10)=@s8;r(0,10);-128;127;",128,0,0,0
.stabs "unsigned char:t(0,11)=@s8;r(0,11);0;255;",128,0,0,0
.stabs "float:t(0,12)=r(0,1);4;0;",128,0,0,0
.stabs "double:t(0,13)=r(0,1);8;0;",128,0,0,0
.stabs "long d
This does not happen at if -O2 or -g is removed.
--
Summary: Failure to build 20001226-1.c with -O2 -g
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: debug
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: fxcoudert at gcc dot gnu dot org
GCC build triplet: i386-pc-cygwin
GCC host triplet: i386-pc-cygwin
GCC target triplet: i386-pc-mingw32
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30645
More information about the Gcc-bugs
mailing list