diff options
author | uqs <uqs@FreeBSD.org> | 2011-07-01 20:45:55 +0000 |
---|---|---|
committer | uqs <uqs@FreeBSD.org> | 2011-07-01 20:45:55 +0000 |
commit | 0c741bc1eedb4d26949816ee5c5e94e69e189c86 (patch) | |
tree | 5bcbc7ecac1da7660759b0d92b44cffcc9e90817 /contrib/gcc/c.opt | |
parent | 5f1c3c9af6f02974854d7b25f3cbc1c5954c1769 (diff) | |
download | FreeBSD-src-0c741bc1eedb4d26949816ee5c5e94e69e189c86.zip FreeBSD-src-0c741bc1eedb4d26949816ee5c5e94e69e189c86.tar.gz |
- Fix typo in check_for_nested_with_variably_modified present
- Implement -Wvariable-decl.
- Port -Wtrampolines support from gcc3.
(all three also via OpenBSD)
PR: gnu/127136, gnu/157019
Submitted by: Henning Petersen, Pedro Giffuni
MFC after: 6 weeks
Diffstat (limited to 'contrib/gcc/c.opt')
-rw-r--r-- | contrib/gcc/c.opt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/gcc/c.opt b/contrib/gcc/c.opt index 8769657..038fc51 100644 --- a/contrib/gcc/c.opt +++ b/contrib/gcc/c.opt @@ -404,6 +404,10 @@ Wtraditional C ObjC Var(warn_traditional) Warn about features not present in traditional C +Wtrampolines +Common Var(warn_trampolines) +Warn when trampolines are emitted + Wtrigraphs C ObjC C++ ObjC++ Warn if trigraphs are encountered that might affect the meaning of the program |