This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/50816] [4.6.1] Discriminators are emitted in DWARF 2 format
- From: "anitha.boyapati at atmel dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 24 Oct 2011 04:21:17 +0000
- Subject: [Bug debug/50816] [4.6.1] Discriminators are emitted in DWARF 2 format
- Auto-submitted: auto-generated
- References: <bug-50816-4@http.gcc.gnu.org/bugzilla/>
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)