[Bug c/88088] -Wtrampolines should be enabled by -Wall (or -Wextra)

segher at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 20 14:28:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88088

--- Comment #10 from Segher Boessenkool <segher at gcc dot gnu.org> ---
As I said, very many targets have no concept of "executable" at all.
Most of the *-elf targets, most (all?) of the *-aout targets.

Not all of the world is Linux.


-Wall is only for *easy to avoid* warnings, which -Wtrampolines very much
is not:

'-Wall'
     This enables all the warnings about constructions that some users
     consider questionable, and that are easy to avoid (or modify to
     prevent the warning), even in conjunction with macros.


More information about the Gcc-bugs mailing list