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

fw at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 20 13:25:00 GMT 2018


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

--- Comment #8 from Florian Weimer <fw at gcc dot gnu.org> ---
(In reply to Segher Boessenkool from comment #7)
> The number of targets where such a warning is meaningless is _big_, that is
> the point (most of the (older) embedded targets).

There are a lot of targets which were once read-implies-exec, but have later
implementations which are not.

I guess the dealbreaker is whether GCC emits code or markers to make the stack
executable.  If it does that, it should warn.


More information about the Gcc-bugs mailing list