Re: [PATCH] C99 testsuite readiness: -fpermissive tests

2023-11-11 Thread Sam James
Florian Weimer writes: > * Eric Gallager: > >>> diff --git a/gcc/testsuite/gcc.c-torture/compile/20080910-1.c >>> b/gcc/testsuite/gcc.c-torture/compile/20080910-1.c >>> index bf32775d401..911fb562790 100644 >>> --- a/gcc/testsuite/gcc.c-torture/compile/20080910-1.c >>> +++ b/gcc/testsuite/gcc.

Re: [PATCH] C99 testsuite readiness: -fpermissive tests

2023-11-11 Thread Jeff Law
On 11/10/23 15:06, Florian Weimer wrote: These tests use obsolete language constructs, but they are not clearly targeting C89, either. So use -fpermissive to keep future errors as warnings. The reasons why obsolete constructs are used used vary from test to test. Some tests deliberately exe

Re: [PATCH] C99 testsuite readiness: -fpermissive tests

2023-11-11 Thread Florian Weimer
* Eric Gallager: >> diff --git a/gcc/testsuite/gcc.c-torture/compile/20080910-1.c >> b/gcc/testsuite/gcc.c-torture/compile/20080910-1.c >> index bf32775d401..911fb562790 100644 >> --- a/gcc/testsuite/gcc.c-torture/compile/20080910-1.c >> +++ b/gcc/testsuite/gcc.c-torture/compile/20080910-1.c >> @

Re: [PATCH] C99 testsuite readiness: -fpermissive tests

2023-11-11 Thread Eric Gallager
On Fri, Nov 10, 2023 at 5:06 PM Florian Weimer wrote: > > These tests use obsolete language constructs, but they are not > clearly targeting C89, either. So use -fpermissive to keep > future errors as warnings. > > The reasons why obsolete constructs are used used vary from > test to test. Some

[PATCH] C99 testsuite readiness: -fpermissive tests

2023-11-10 Thread Florian Weimer
These tests use obsolete language constructs, but they are not clearly targeting C89, either. So use -fpermissive to keep future errors as warnings. The reasons why obsolete constructs are used used vary from test to test. Some tests deliberately exercise later stages of the compiler that only o