On Jul 11, 2012, at 9:30 AM, Andreas Schwab wrote: > Rainer Orth <r...@cebitec.uni-bielefeld.de> writes: > >> 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. > > Do we have to repeat this for every new test that scans the assembler > output? > >> * g++.dg/debug/dwarf2/pubnames-2.C: Allow for / comments. > > Please also add | for m68k and @ for arm. Don't you want ! as well?
I've been known to use . (regexp for any character) in patterns, on the grounds that all ports known to me use a single character for the comment character, but, vms is likely to use something I can't predict. :-)