[Bug c/118542] Split -Wexpansion-to-defined for function vs. object like macros

2025-02-17 Thread hstong at ca dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118542 Hubert Tong changed: What|Removed |Added CC||hstong at ca dot ibm.com --- Comment #5 f

[Bug c/118542] Split -Wexpansion-to-defined for function vs. object like macros

2025-01-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118542 Andrew Pinski changed: What|Removed |Added See Also||https://github.com/llvm/llv

[Bug c/118542] Split -Wexpansion-to-defined for function vs. object like macros

2025-01-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118542 --- Comment #3 from Andrew Pinski --- https://gcc.gnu.org/pipermail/gcc-patches/2016-August/454527.html >* it's *always* active for object-like macros (dangerous in portable code); >* it's behind -Weverything / -pedantic for function-like macro