[Bug debug/50816] [4.6.1] Discriminators are emitted in DWARF 2 format

anitha.boyapati at atmel dot com gcc-bugzilla@gcc.gnu.org
Mon Oct 24 04:21:00 GMT 2011


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

--- Comment #7 from Anitha Boyapati <anitha.boyapati at atmel dot com> 2011-10-24 04:21:17 UTC ---
Created attachment 25583
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25583
Relevant testcase that is compilable


Compile it as:

$avr-gcc -mmcu=atxmega128a1 -g -gdwarf-2 test.c -S

The resulting file gives assembly interspersed with .loc directives (and
discriminators)



More information about the Gcc-bugs mailing list