https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55578
--- Comment #15 from FeRD <ferdnyc at gmail dot com> --- (In reply to Luca Bacci from comment #14) > 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 Hmm. I can confirm, even with gcc 14.2.1. And again, --no-integrated-cpp causes the warning to go away: $ gcc --version gcc (GCC) 14.2.1 20250110 (Red Hat 14.2.1-7) Copyright (C) 2024 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ gcc -c test-gcc.c -Wall; echo "__END__" test-gcc.c:7: warning: ignoring ‘#pragma STD FENV_ACCESS’ [-Wunknown-pragmas] 7 | PRAGMA_FENV_ACCESS_ON __END__ $ gcc --no-integrated-cpp -c test-gcc.c -Wall; echo "__END__" __END__ > Should I open a new bug report? Since this is marked RESOLVED FIXED, I'd say probably yes? It's definitely more likely to get attention that way.