This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/88088] -Wtrampolines should be enabled by -Wall (or -Wextra)
- From: "segher at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 21 Nov 2018 13:28:18 +0000
- Subject: [Bug c/88088] -Wtrampolines should be enabled by -Wall (or -Wextra)
- Auto-submitted: auto-generated
- References: <bug-88088-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88088
--- Comment #14 from Segher Boessenkool <segher at gcc dot gnu.org> ---
It is *not* a security issue for many environments, and the warning warns
whenever you use a useful feature.
It is very hard to avoid the warning if you use this feature (you need to
stop using the feature altogether!), which would disqualify it for -Wall
immediately, except you may say "but the security impact is so important".
Since the security impact is zero for many environments, that is not a good
argument.
-Wtrampolines as it currently is does not belong in -Wall.