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 -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."