Steve Ellcey wrote:- > > I am confused by the new test gcc.dg/cpp/_Pragma4.c that was added by > this patch and wonder if I am missing something or if there is a typo in > the test. > > I believe the test is searching for the string '#pragma bat' (bat with a > t) to see if the tests succeeded, but how would that appear in the > output? Shouldn't it be searching for '#pragma bar' (bar with an r)? > Or am I just really confused? The test is currently failing for me.
Indeed, I wonder how I hadn't noticed. I've fixed the typo. I've a nasty feeling the fix I gave doesn't work in all cases anyway; a proper fix might have to wait for 3.4. Neil.