On Tue, Oct 11, 2022 at 09:40:45AM +0200, Andreas Schwab via Gcc-patches wrote: > On Okt 10 2022, Marek Polacek via Gcc-patches wrote: > > > diff --git a/gcc/testsuite/c-c++-common/pointer-to-fn1.c > > b/gcc/testsuite/c-c++-common/pointer-to-fn1.c > > new file mode 100644 > > index 00000000000..975885462e9 > > --- /dev/null > > +++ b/gcc/testsuite/c-c++-common/pointer-to-fn1.c > > @@ -0,0 +1,18 @@ > > +/* PR c++/106937 */ > > +/* { dg-options "-fcf-protection" } */ > > FAIL: c-c++-common/pointer-to-fn1.c -Wc++-compat (test for excess errors) > Excess errors: > cc1: error: '-fcf-protection=full' is not supported for this target
Thanks, patch posted. Marek