This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR testsuite/35647
On Thu, 20 Mar 2008, Uros Bizjak wrote:
> > Still, FAIL: gcc.dg/cpp/cmdlne-dI-M.c scan-file (^|\\n)cmdlne-dI-M.*:[^\\n]*cmdlne-dI-M.c
>
> I tried with egrep -e, and also fails. The problematic part is escape
> that escapes both square brackets. Removing escape from egrep pattern
> matches OK.
Oh, don't do *that*! You have to do all sorts of unnatural
escapes in the testsuite some but perhaps not all attributable
to tcl and dejagnu; the testsuite regexps do not carry over to
e.g. egrep.
brgds, H-P