[PATCH] Fix PR c/12446
Eric Botcazou
ebotcazou@libertysurf.fr
Sat Oct 4 08:39:00 GMT 2003
> If you don't *need* to change a testcase to accommodate changed error
> messages, then doing so is dubious; rather keep the testcase testing
> exactly what it was testing before (whatever that might be). In this case
> the testcases allowed multiple possible messages, which should cover both
> the old and the new.
Ok.
> The dg-options line should have -pedantic-errors - all the conformance
> tests do except for a few where it's specifically being tested that
> -std=whatever should suffice for valid code to be accepted without any
> further options.
Here are the new testcases. Tested with
make -k check-gcc RUNTESTFLAGS="dg.exp=c9?-array-lval*"
giving 66 expected passes.
2003-10-03 Eric Botcazou <ebotcazou@libertysurf.fr>
* gcc.dg/c90-array-lval-6.c: New test.
* gcc.dg/c99-array-lval-6.c: New test.
--
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: c90-array-lval-6.c
Type: text/x-csrc
Size: 381 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20031004/0ccbb01e/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: c99-array-lval-6.c
Type: text/x-csrc
Size: 304 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20031004/0ccbb01e/attachment-0001.bin>
More information about the Gcc-patches
mailing list