This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]