https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55578
Luca Bacci <luca.bacci at outlook dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |luca.bacci at outlook dot com
--- Comment #14 from Luca Bacci <luca.bacci at outlook dot com> ---
Hello, I have the same issue with the C frontend:
test-gcc.c:
--------------------------
#define PRAGMA_FENV_ACCESS_ON \
_Pragma ("GCC diagnostic push") \
_Pragma ("GCC diagnostic ignored \"-Wunknown-pragmas\"") \
_Pragma ("STD FENV_ACCESS ON") \
_Pragma ("GCC diagnostic pop")
PRAGMA_FENV_ACCESS_ON
--------------------------
$ gcc -c test-gcc.c -Wall > /dev/null
test-gcc.c:7: warning: ignoring '#pragma STD FENV_ACCESS' [-Wunknown-pragmas]
7 | PRAGMA_FENV_ACCESS_ON
Should I open a new bug report?
Thanks!