[PATCH] Fix incorrect discriminator assignment.
Rainer Orth
ro@CeBiTec.Uni-Bielefeld.DE
Fri Jun 7 12:39:00 GMT 2013
Andreas Schwab <schwab@linux-m68k.org> writes:
> Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes:
>
>> Indeed, and I see -ansi -pedantic-errors -gdwarf-2 -O0 used for the test
>> on both x86_64-unknown-linux-gnu and i386-pc-solaris2.10 (if I augment
>> the target clause).
>
> DEFAULT_CFLAGS is set by many *.exp files. dwarf2.exp will not
> overwrite an existing definition, so using anthing different from "-ansi
> -pedantic-errors" will not work.
Right, I noticed this myself. Most likely just another one of the many
instances of mindless copy-and-paste programming in our testsuite ;-(
I've now applied the following patch to fix this, after testing on
x86_64-unknown-linux-gnu.
Btw., I've started implementing a dwarf2_debug_line effective-target
keyword for the testsuite.
Rainer
2013-06-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* gcc.dg/debug/dwarf2/discriminator.c: Fix wording.
Revert to dg-options.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: disc.patch
Type: text/x-patch
Size: 882 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130607/02c9aeba/attachment.bin>
-------------- next part --------------
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University
More information about the Gcc-patches
mailing list