diff options
author | gerald <gerald@FreeBSD.org> | 2011-03-26 09:33:11 +0800 |
---|---|---|
committer | gerald <gerald@FreeBSD.org> | 2011-03-26 09:33:11 +0800 |
commit | 47cf5b694da99d209a7f2c7f7f78d00584c77c25 (patch) | |
tree | 1ee19d26961f7b9c1d23237035dfe989342f9816 /lang/gcc46 | |
parent | 9f7719394aeb0b16b324c8298e63e51af146394c (diff) | |
download | freebsd-ports-gnome-47cf5b694da99d209a7f2c7f7f78d00584c77c25.tar.gz freebsd-ports-gnome-47cf5b694da99d209a7f2c7f7f78d00584c77c25.tar.zst freebsd-ports-gnome-47cf5b694da99d209a7f2c7f7f78d00584c77c25.zip |
Update to the release of GCC 4.6.0 (basically). Really too many changes
to sensibly list here, but http://gcc.gnu.org/gcc-4.6/changes.html has a
nice overview.
Some highlights include
- a new quad-precision library that's used by the Fortran frontend
(on x86 and amd64);
- new -Wunused-but-set-variable and -Wunused-but-set-parameter warnings
for C family languages (enabled by -Wall and -Wall -Wextra, too);
- new -Wdouble-promotion warning for implicit promotions to double;
- a new general optimization level -Ofast combines -O3 with options that
can affect standards compliance but result in better optimized code;
- link-time optimizations (LTO) now scaling to large input sizes, using
better heuristics, and optimizing more aggressively;
- new command-line options -fstack-usage and -fstrict-volatile-bitfields
(for precisely defining and accessing memory-mapped peripheral registers);
- function attribute leaf that allows for more aggressive optimizations;
- new data type __int128 for targets having wide enough machine-mode support;
- support for selectively enabling and disabling warnings via
#pragma GCC diagnostic has been added. For instance:
#pragma GCC diagnostic error "-Wuninitialized"
foo(a); /* error is given for this one */
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wuninitialized"
foo(b); /* no diagnostic for this one */
#pragma GCC diagnostic pop
foo(c); /* error is given for this one */
#pragma GCC diagnostic pop
foo(d); /* depends on command line options */
- new command-line option-fmax-errors=N;
- experimental support for some features from the upcoming ISO C1X;
- similarly for ISO C++0x including constexpr, nullptr, noexcept,
unrestricted unions, range-based for loops, opaque enums, implicitly
deleted functions, and implicit move constructors;
- default warning when integers are cast to larger pointer types,
to disable via -Wno-int-to-pointer-cast;
- signficiantly better diagnostics for C++ code;
- loads and loads and loads of improvements to the Fortran frontend;
- a new Go frontend and run-time library;
- massive work on Objective-C and Objective-C++; notably extensive
support for Objective-C 2.0 (not enabled by this port yet);
- support for Intel Core 2 processors (-march=core2, -mtune=core2),
Intel Core i3/i5/i7 processors /with AVS (-march=corei7, -mtune=corei7,
-march=corei7-avx, -mtune=corei7-avx);
- support for AMD Bobcat (fam 14) processors (-march=btver1, -mtune=btver1);
Caveat:
- Most libstdc++ standard headers have been changed to no longer include
the cstddef header as an implementation detail.
Diffstat (limited to 'lang/gcc46')
-rw-r--r-- | lang/gcc46/Makefile | 2 | ||||
-rw-r--r-- | lang/gcc46/distinfo | 20 |
2 files changed, 11 insertions, 11 deletions
diff --git a/lang/gcc46/Makefile b/lang/gcc46/Makefile index 83e66cb2135c..78cca165312a 100644 --- a/lang/gcc46/Makefile +++ b/lang/gcc46/Makefile @@ -7,7 +7,7 @@ # PORTNAME= gcc -PORTVERSION= 4.6.0.20110318 +PORTVERSION= 4.6.1.20110325 CATEGORIES= lang java MASTER_SITES= ${MASTER_SITE_GCC} MASTER_SITE_SUBDIR= snapshots/${VERSIONSTRING} diff --git a/lang/gcc46/distinfo b/lang/gcc46/distinfo index 0c48512a9445..0b44829c79f3 100644 --- a/lang/gcc46/distinfo +++ b/lang/gcc46/distinfo @@ -1,10 +1,10 @@ -SHA256 (gcc-core-4.6-20110318.tar.bz2) = a6a85bb858d9ebdea4548b815fedae7070ba153cfeae5707fb43047f8646c7e5 -SIZE (gcc-core-4.6-20110318.tar.bz2) = 26265001 -SHA256 (gcc-fortran-4.6-20110318.tar.bz2) = 6ef4e8cf93326e648c81c57c233e822c312dc02a9ce6f27d3fcb0d1f7517343d -SIZE (gcc-fortran-4.6-20110318.tar.bz2) = 1544130 -SHA256 (gcc-g++-4.6-20110318.tar.bz2) = aec8029a553bed43faa877cd5b79939ed6d7759cb65b8d181bf05c517a16fe7b -SIZE (gcc-g++-4.6-20110318.tar.bz2) = 6917316 -SHA256 (gcc-testsuite-4.6-20110318.tar.bz2) = ced8fd8911b9e1c93d37ba93c3aaef0248c2e9ee87cf13b3044edaefd5b3c475 -SIZE (gcc-testsuite-4.6-20110318.tar.bz2) = 6236588 -SHA256 (gcc-java-4.6-20110318.tar.bz2) = ca8ff44546825fe4cee5637cd47de74cb9d05886e54752d09816498286015861 -SIZE (gcc-java-4.6-20110318.tar.bz2) = 18534947 +SHA256 (gcc-core-4.6-20110325.tar.bz2) = b2aac1ab42eea6cd3e9067d8b6e9ea9d009dab34bcc6937b42e45f07b427c781 +SIZE (gcc-core-4.6-20110325.tar.bz2) = 26264477 +SHA256 (gcc-fortran-4.6-20110325.tar.bz2) = 4a028e11dd7b1ae2ba187024afa51950d377610cadb55affc719732f9c1c7768 +SIZE (gcc-fortran-4.6-20110325.tar.bz2) = 1543438 +SHA256 (gcc-g++-4.6-20110325.tar.bz2) = 884df07bacb4ca3d80e3d7f3a53e47b7c3310ad5c323ada3660c95d2bae721bb +SIZE (gcc-g++-4.6-20110325.tar.bz2) = 6930827 +SHA256 (gcc-testsuite-4.6-20110325.tar.bz2) = bc8445ba8de1231543cca20282dc408c304a68b9dbab87500a04456993890c0c +SIZE (gcc-testsuite-4.6-20110325.tar.bz2) = 6235408 +SHA256 (gcc-java-4.6-20110325.tar.bz2) = 50997af2cdcaf4ee66fad4a011d13ef5373e06479f94aa44aafb5d87e3e11572 +SIZE (gcc-java-4.6-20110325.tar.bz2) = 18534473 |