diff options
author | pfg <pfg@FreeBSD.org> | 2013-11-23 18:32:53 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2013-11-23 18:32:53 +0000 |
commit | 7aeb11f1dbdb8a5f08e12f93ff76dc1cf17395e0 (patch) | |
tree | 2fc63906136497dd451e94988bc08838475abff7 /contrib/gcc/common.opt | |
parent | 390cac2ec15e166c883a2734e03f3e34bae6e1f8 (diff) | |
download | FreeBSD-src-7aeb11f1dbdb8a5f08e12f93ff76dc1cf17395e0.zip FreeBSD-src-7aeb11f1dbdb8a5f08e12f93ff76dc1cf17395e0.tar.gz |
gcc: Bring updates from Google's enhanced gcc-4.2.1.
Google released and enhanced version of gcc-4.2.1 plus their local
patches for Android[1].
The patches are owned by Google and the license hasn't been changed
from the original GPLv2. We are only bringing a subset of the
available patches that may be helpful in FreeBSD. Changes specific
to android are not included.
From the README.google file[1].
Patches applied to google_vendor_src_branch/gcc/gcc-4.2.1:
gcc/Makefile.in
gcc/c-common.c
gcc/c-common.h
gcc/c-opts.c
gcc/c-typeck.c
gcc/cp/typeck.c
gcc/doc/invoke.texi
gcc/flags.h
gcc/opts.c
gcc/tree-flow.h
gcc/tree-ssa-alias-warnings.c
gcc/tree-ssa-alias.c
Backport of -Wstrict-aliasing from mainline.
Silvius Rus <rus@google.com>
gcc/coverage.c:
Patch coverage_checksum_string for PR 25351.
Seongbae Park <spark@google.com>
Not yet submitted to FSF.
gcc/c-opts.c
gcc/c-ppoutput.c
gcc/c.opt
gcc/doc/cppopts.texi
libcpp/Makefile.in
libcpp/directives-only.c
libcpp/directives.c
libcpp/files.c
libcpp/include/cpplib.h
libcpp/init.c
libcpp/internal.h
libcpp/macro.c
Support for -fdirectives-only.
Ollie Wild <aaw@google.com>.
Submitted to FSF but not yet approved.
libstdc++-v3/include/ext/hashtable.h
http://b/742065
http://b/629994
Reduce min size of hashtable for hash_map, hash_set from 53 to 5
libstdc++-v3/include/ext/hashtable.h
http://b/629994
Do not iterate over buckets if hashtable is empty.
gcc/common.opt
gcc/doc/invoke.texi
gcc/flags.h
gcc/gimplify.c
gcc/opts.c
Add Saito's patch for -finstrument-functions-exclude-* options.
gcc/common.opt
gcc/doc/invoke.texi
gcc/final.c
gcc/flags.h
gcc/opts.c
gcc/testsuite/gcc.dg/Wframe-larger-than.c
Add a new flag -Wframe-larger-than- which enables a new warning
when a frame size of a function is larger than specified.
This patch hasn't been integrated into gcc mainline yet.
gcc/tree-vrp.c
Add a hack to avoid using ivopts information for pointers starting
at constant values.
Reference:
[1]
https://android.googlesource.com/toolchain/gcc/+/master/gcc-4.2.1/
Obtained from: Google Inc.
MFC after: 3 weeks
Diffstat (limited to 'contrib/gcc/common.opt')
-rw-r--r-- | contrib/gcc/common.opt | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/contrib/gcc/common.opt b/contrib/gcc/common.opt index 2270d0d..7dd3909 100644 --- a/contrib/gcc/common.opt +++ b/contrib/gcc/common.opt @@ -95,7 +95,11 @@ Warn when an inlined function cannot be inlined Wlarger-than- Common RejectNegative Joined UInteger --Wlarger-than-<number> Warn if an object is larger than <number> bytes +-Wlarger-than-<number> Warn if an object is larger than <number> bytes + +Wframe-larger-than- +Common RejectNegative Joined UInteger +-Wframe-larger-than-<number> Warn if the frame size of a function is larger than <number> bytes Wunsafe-loop-optimizations Common Var(warn_unsafe_loop_optimizations) @@ -537,6 +541,14 @@ finstrument-functions Common Report Var(flag_instrument_function_entry_exit) Instrument function entry and exit with profiling calls +finstrument-functions-exclude-function-list= +Common RejectNegative Joined +-finstrument-functions-exclude-function-list=name,... Do not instrument listed functions + +finstrument-functions-exclude-file-list= +Common RejectNegative Joined +-finstrument-functions-exclude-file-list=filename,... Do not instrument functions listed in files + fipa-cp Common Report Var(flag_ipa_cp) Perform Interprocedural constant propagation |