On Fri, 6 Nov 2020, Uecker, Martin wrote:
> Am Freitag, den 06.11.2020, 22:07 + schrieb Joseph Myers:
> > On Fri, 6 Nov 2020, Uecker, Martin wrote:
> >
> > > Hi Joseph,
> > >
> > > here is the revised patch. I remove the 'fallthrough'
> > > code as suggested, so everything becomes even simpl
Am Freitag, den 06.11.2020, 22:07 + schrieb Joseph Myers:
> On Fri, 6 Nov 2020, Uecker, Martin wrote:
>
> > Hi Joseph,
> >
> > here is the revised patch. I remove the 'fallthrough'
> > code as suggested, so everything becomes even simpler.
> > Some tests had to be changed then, but it seems O
On Fri, 6 Nov 2020, Uecker, Martin wrote:
> Hi Joseph,
>
> here is the revised patch. I remove the 'fallthrough'
> code as suggested, so everything becomes even simpler.
> Some tests had to be changed then, but it seems Ok to
> me.
This patch is missing the new tests.
> + * gcc.dg/c11-label
Hi Joseph,
here is the revised patch. I remove the 'fallthrough'
code as suggested, so everything becomes even simpler.
Some tests had to be changed then, but it seems Ok to
me.
Best,
Martin
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index ca844ca775a..c656b5f4cc5 100644
--- a/gcc/c/Change
On Sun, 1 Nov 2020, Uecker, Martin wrote:
> @@ -5693,27 +5692,54 @@ c_parser_compound_statement_nostart (c_parser *parser)
> last_label = true;
> last_stmt = false;
> mark_valid_location_for_stdc_pragma (false);
> - c_parser_label (parser);
> + c_parser_label (p
Am Montag, den 14.09.2020, 20:30 + schrieb Joseph Myers:
> On Sun, 13 Sep 2020, Uecker, Martin wrote:
>
> > Hi Joseph,
> >
> > here is the (unfinished) patch to support
> > mixing of labels in C2X.
>
> I think there should be explicit tests for old standard versions
> (c11-labels-1.c etc.)
On Sun, 13 Sep 2020, Uecker, Martin wrote:
> Hi Joseph,
>
> here is the (unfinished) patch to support
> mixing of labels in C2X.
I think there should be explicit tests for old standard versions
(c11-labels-1.c etc.) that these usages are errors with -pedantic-errors
with the old -std option, a
Hi Joseph,
here is the (unfinished) patch to support
mixing of labels in C2X.
I preserved existing tests by adding
"-std=c17 -pedantic-error"
So far, I haven't figured out how
to fix the OpenMP related warning
in 'gcc.dg/gomp/barrier-2.c'.
Best,
Martin
diff --git a/gcc/c/c-parser.c b/gcc/c/