#
302408 |
|
07-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
260311 |
|
04-Jan-2014 |
pfg |
gcc: Add support for Apple's Block extension
Block objects [1] are a C-level syntactic and runtime feature. They are similar to standard C functions, but in addition to executable code they may also contain variable bindings to automatic (stack) or managed (heap) memory. A block can therefore maintain a set of state (data) that it can use to impact behavior when executed.
This port is based on Apple's GCC 5646 with some bugfixes from Apple GCC 5666.3. It has some small differences with the support in clang, which remains the recommended compiler.
Perhaps the most notable difference is that in GCC that __block is not actually a keyword, but a macro. There will be workaround for this issue in a near future. Other issues can be consulted in the clang documentation [2]
For better compatiblity with Apple's GCC and llvm-gcc some related fixes and features from Apple have been included. Support for the non-standard nested functions in GCC is now off by default.
No effort was made to update the ObjC support since FreeBSD doesn't carry ObjC in the base system, but some of the code crept in and was more difficult to remove than to adjust.
Reference: [1] https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/Blocks/Articles/00_Introduction.html [2] http://clang.llvm.org/compatibility.html#block-variable-initialization
Obtained from: Apple GCC 4.2 MFC after: 3 weeks
|
#
259666 |
|
20-Dec-2013 |
pfg |
gcc: clean some warnings from -Wformat-security
Obtained from: Apple GCC 4.2 - 5646 (Radar 5764921) MFC after: 1 week
|
#
259660 |
|
20-Dec-2013 |
pfg |
gcc: revert Rvalue references.
They are very useful but at this time I prefer not to figure out some minor conflicts with the bigger Apple's blocks support patch that is being worked on for current.
|
#
259655 |
|
20-Dec-2013 |
pfg |
gcc: merge upstream fix and new feature.
Fix for PR c++/29928
Add support for Rvalue references as described here: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2118.html
Obtained from: gcc 4.3 (rev. 124724, 125211; GPLv2) MFC after: 2 weeks
|
#
259022 |
|
06-Dec-2013 |
pfg |
gcc: Include types in error message for build_binary_op.
Mostly cosmetic change, again to reduce differences with Apple's gcc.
Obtained from: gcc 4.3 (rev. 125239; GPLv2) MFC after: 3 weeks
|
#
259005 |
|
05-Dec-2013 |
pfg |
gcc: Add -flax-vector-conversions
Obtained from: gcc 4.3 (rev. 120572, 120688; GPLv2)
|
#
258748 |
|
29-Nov-2013 |
pfg |
gcc: upstream alignment cleanups.
This solves GCC/32617 and contributes to reduce differences with Apple's gcc42.
Complete some references in the ChangeLog while here.
Obtained from: gcc 4.3 (rev. 126529, 126588; GPLv2) MFC after: 3 weeks
|
#
258501 |
|
23-Nov-2013 |
pfg |
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
|
#
258157 |
|
15-Nov-2013 |
pfg |
gcc: warn about integer overflow in constant expressions in the C++ frontend.
This fixes GCC 28986: http://gcc.gnu.org/ml/gcc-patches/2007-01/msg00473.html
Obtained from: gcc 4.3 (rev. 120558; GPLv2) MFC after: 3 weeks
|
#
258081 |
|
13-Nov-2013 |
pfg |
gcc: Backport fixes for -W parentheses in C++
This fixes GCC 19564: http://gcc.gnu.org/ml/gcc-patches/2006-12/msg00868.html http://gcc.gnu.org/ml/gcc-patches/2006-12/msg01772.html http://gcc.gnu.org/ml/gcc-patches/2007-01/msg00545.html
The patch and its fixes are used by Google in their enhanced gcc-4.2.1 port and predates the license switch in GCC so they are still under GPLv2.
MFC after: 3 weeks
|
#
220150 |
|
29-Mar-2011 |
mm |
Upgrade of base gcc and libstdc++ to the last GPLv2-licensed revision (rev. 127959 of gcc-4_2-branch).
Resolved GCC bugs: c++: 17763, 29365, 30535, 30917, 31337, 31941, 32108, 32112, 32346, 32898, 32992 debug: 32610, 32914 libstdc++: 33084, 33128 middle-end: 32563 rtl-optimization: 33148 tree-optimization: 25413, 32723 target: 32218
Tested by: pointyhat (miwi) Obtained from: gcc (gcc-4_2-branch up to rev. 127959) PR: gnu/153298, gnu/153959, gnu/154385 MFC after: 1 month
|
#
171826 |
|
14-Aug-2007 |
kan |
This commit was generated by cvs2svn to compensate for changes in r171825, which included commits to RCS files with non-trunk default branches.
|
#
171825 |
|
14-Aug-2007 |
kan |
GCC 4.2.1 release.
|
#
169689 |
|
18-May-2007 |
kan |
GCC 4.2.0 release.
|
#
161651 |
|
26-Aug-2006 |
kan |
Gcc 3.4.6 as of 2006/08/25 #116475.
|
#
146895 |
|
03-Jun-2005 |
kan |
Gcc 3.4.4 release.
|
#
132718 |
|
28-Jul-2004 |
kan |
Gcc 3.4.2 20040728.
|
#
122180 |
|
07-Nov-2003 |
kan |
Gcc 3.3.3 20031106.
|
#
117395 |
|
11-Jul-2003 |
kan |
Gcc 3.3.1-pre as of 2003-07-11.
|
#
110611 |
|
10-Feb-2003 |
kan |
Gcc 3.2.2-release.
|
#
107590 |
|
04-Dec-2002 |
obrien |
Gcc 3.2.1 release virgin vendor import. (19-Nov-2002)
|
#
102780 |
|
01-Sep-2002 |
kan |
Gcc 3.2.1-prerelease from the FSF anoncvs repo gcc-3_2-branch on 1-Sep-2002 00:00:01 EDT.
|
#
96263 |
|
09-May-2002 |
obrien |
Gcc 3.1.0 pre-release from the FSF anoncvs repo on 9-May-2002 15:57:15 EDT.
|
#
90075 |
|
01-Feb-2002 |
obrien |
Enlist the FreeBSD-CURRENT users as testers of what is to become Gcc 3.1.0. These bits are taken from the FSF anoncvs repo on 1-Feb-2002 08:20 PST.
|
#
52284 |
|
16-Oct-1999 |
obrien |
Virgin import of the GCC 2.95.1 compilers
|
#
50397 |
|
26-Aug-1999 |
obrien |
Virgin import of gcc from EGCS 1.1.2
|
#
18334 |
|
18-Sep-1996 |
peter |
Import of unmodified (but trimmed) gcc-2.7.2. The bigger parts of the non-i386, non-unix, and generatable files have been trimmed, but can easily be added in later if needed.
gcc-2.7.2.1 will follow shortly, it's a very small delta to this and it's handy to have both available for reference for such little cost.
The freebsd-specific changes will then be committed, and once the dust has settled, the bmakefiles will be committed to use this code.
|