diff options
author | Magnus Granberg <zorry@gentoo.org> | 2010-07-15 05:46:36 +0000 |
---|---|---|
committer | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2010-07-15 05:46:36 +0000 |
commit | 8ffadef9522724304913886c7df86db26e46efc7 (patch) | |
tree | a01412ef395a7d90aeb4d60dc1ddd5779ac1fb35 /gcc/common.opt | |
parent | 6b58c62f292ef249236bf6cb5f0adce974ea6d07 (diff) | |
download | gcc-8ffadef9522724304913886c7df86db26e46efc7.zip gcc-8ffadef9522724304913886c7df86db26e46efc7.tar.gz gcc-8ffadef9522724304913886c7df86db26e46efc7.tar.bz2 |
builtins.c (expand_builtin_init_trampoline): If -Wtrampolines make a warning.
2010-07-15 Magnus Granberg <zorry@gentoo.org>
Kevin F. Quinn <kevquinn@gentoo.org>
* builtins.c (expand_builtin_init_trampoline): If
-Wtrampolines make a warning.
* common.opt: Add -Wtrampolines.
* doc/invoke.texi: Add -Wtrampolines.
testsuite/
* gcc.dg/Wtrampolines.c: New.
Co-Authored-By: Kevin F. Quinn <kevquinn@gentoo.org>
From-SVN: r162205
Diffstat (limited to 'gcc/common.opt')
-rw-r--r-- | gcc/common.opt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/common.opt b/gcc/common.opt index 111d7b7..41a9838 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -212,6 +212,10 @@ Wsystem-headers Common Var(warn_system_headers) Warning Do not suppress warnings from system headers +Wtrampolines +Common Var(warn_trampolines) Warning +Warn whenever a trampoline is generated + Wtype-limits Common Var(warn_type_limits) Init(-1) Warning Warn if a comparison is always true or always false due to the limited range of the data type |