[Bug c/115311] -fno-builtin-xxx allowing anything for xxx

2024-06-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115311 --- Comment #3 from Richard Biener --- Note we handle -Wno-xyz similarly, but of course a typo like -fno-builtin-sun (s/sun/sin) isn't noticed this way which is the drawback.

[Bug c/115311] -fno-builtin-xxx allowing anything for xxx

2024-06-01 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115311 Georg-Johann Lay changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/115311] -fno-builtin-xxx allowing anything for xxx

2024-05-31 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115311 --- Comment #1 from Joseph S. Myers --- This definitely wouldn't work for glibc; we freely use -fno-builtin- when e.g. aliasing double and long double functions when the formats are the same, where GCC gives an error if it has the functions as b