]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC rr258501, r258507;
authorpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 15 Dec 2013 03:48:54 +0000 (03:48 +0000)
committerpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 15 Dec 2013 03:48:54 +0000 (03:48 +0000)
commitedfa7e34f5e0fb4c059029d8f5cadc9829ee1a1e
tree4a695cd6745ce85bd543b1dc4478b30542108408
parentdec838646e2dd664e08d7a67ebb36111ab11f844
MFC rr258501, r258507;
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, in other words,
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.

git-svn-id: svn://svn.freebsd.org/base/stable/9@259406 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
30 files changed:
contrib/gcc/c-common.c
contrib/gcc/c-common.h
contrib/gcc/c-opts.c
contrib/gcc/c-ppoutput.c
contrib/gcc/c-typeck.c
contrib/gcc/c.opt
contrib/gcc/common.opt
contrib/gcc/coverage.c
contrib/gcc/cp/typeck.c
contrib/gcc/doc/cppopts.texi
contrib/gcc/doc/invoke.texi
contrib/gcc/final.c
contrib/gcc/flags.h
contrib/gcc/gimplify.c
contrib/gcc/opts.c
contrib/gcc/tree-flow.h
contrib/gcc/tree-ssa-alias-warnings.c [new file with mode: 0644]
contrib/gcc/tree-ssa-alias.c
contrib/gcc/tree-vrp.c
contrib/gcclibs/libcpp/Makefile.in
contrib/gcclibs/libcpp/directives-only.c [new file with mode: 0644]
contrib/gcclibs/libcpp/directives.c
contrib/gcclibs/libcpp/files.c
contrib/gcclibs/libcpp/include/cpplib.h
contrib/gcclibs/libcpp/init.c
contrib/gcclibs/libcpp/internal.h
contrib/gcclibs/libcpp/macro.c
contrib/libstdc++/include/ext/hashtable.h
gnu/usr.bin/cc/cc_int/Makefile
gnu/usr.bin/cc/libcpp/Makefile