[testsuite] Allow for / comments in g++.dg/debug/dwarf2/pubnames-2.C

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Wed Jul 11 15:12:00 GMT 2012


g++.dg/debug/dwarf2/pubnames-2.C currently FAILs on Solaris/x86 since
comments start with /, not # for both Sun as and gas.  The following
patch fixes this by allowing the alternate comment character.

Tested with the appropriate runtest invocation on i386-pc-solaris2.11
and x86_64-unknown-linux-gnu, installed on mainline.

	Rainer


2012-07-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* g++.dg/debug/dwarf2/pubnames-2.C: Allow for / comments.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: testsuite-pubnames-2-slash.patch
Type: text/x-patch
Size: 11905 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120711/f02f3b3b/attachment.bin>
-------------- next part --------------


-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University


More information about the Gcc-patches mailing list