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

--- Comment #10 from Anitha Boyapati <anitha.boyapati at atmel dot com> 
2011-10-25 02:31:12 UTC ---
(In reply to comment #9)
> Author: jakub
> Date: Mon Oct 24 18:09:21 2011
> New Revision: 180398
> 
> URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180398
> Log:
>     PR debug/50816
>     * dwarf2out.c (dwarf2out_source_line): Emit discriminators only if
>     -gdwarf-4 or not -gstrict-dwarf.
> 
> Modified:
>     branches/gcc-4_6-branch/gcc/ChangeLog
>     branches/gcc-4_6-branch/gcc/dwarf2out.c


Thanks Jakub.  I thought this suffices:

http://gcc.gnu.org/viewcvs/trunk/gcc/dwarf2out.c?r1=171846&r2=171852&diff_format=h


This however requires us to use -gstrict-dwarf option.

Reply via email to