[committed] Fix PR testsuite/40858

John David Anglin dave@hiauly1.hia.nrc.ca
Mon Aug 3 18:20:00 GMT 2009


> I'm afraid the .* is wrong, it will match even newlines.
> You should make sure you don't match \n or \t.

However, I'm not convinced that there's a real problem.

Prior to .* we match explicitly "foo<1u>.." in the first case and
"typedef foo<1u>::type type.." in the second case.  It's really
these two matches that we care about, isn't it?

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)



More information about the Gcc-patches mailing list