[Bug driver/49726] New: -g0 file.S -g does not produce debug info
jan.kratochvil at redhat dot com
gcc-bugzilla@gcc.gnu.org
Wed Jul 13 05:24:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49726
Summary: -g0 file.S -g does not produce debug info
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: driver
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: jan.kratochvil@redhat.com
Target: x86_64-fedora15-linux-gnu
Build: x86_64-fedora15-linux-gnu
FAIL: gcc (GCC) 4.4.7 20110712 (prerelease)
FAIL: gcc (GCC) 4.5.4 20110712 (prerelease)
FAIL: gcc (GCC) 4.6.2 20110713 (prerelease)
FAIL: gcc (GCC) 4.7.0 20110713 (experimental)
gcc -c -o 1.o 1.c -g: debug info produced
gcc -c -o 1.o 1.S -g: debug info produced
gcc -c -o 1.o -g0 1.c -g: debug info produced
gcc -c -o 1.o -g0 1.S -g: debug info not produced - IMO a bug
Why .c and .S behave differently wrt -g application rules?
Sure for .S there is just the .debug_line relevant.
More information about the Gcc-bugs
mailing list