From 04bfaa8ecd94236f2723c0ece94529bf8a6f36d7 Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Mon, 10 Mar 2014 20:41:10 +0000 Subject: Update the default version of GCC used in the Ports Collection from GCC 4.6.4 to GCC 4.7.3. This entails updating the lang/gcc port as well as changing the default in Mk/bsd.default-versions.mk. This adds powerpc64 as a supported architecture (and removes ia64, though it can be supported by manually installing lang/gcc48). New binaries %%GNU_HOST%%-gcc-ar47, %%GNU_HOST%%-gcc-nm47, and %%GNU_HOST%%-gcc-ranlib47 are provided to support link-time optimization (LTO) which scales significantly better. And it adds support for indirect functions (IFUNCS), experimental support for transactional memory in the compiler as well as a supporting run-time library called libitm, a new string length optimization pass, and support for atomic operations specifying the C++11/C11 memory model. Version 3.1 of the OpenMP specification is now supported for the C, C++, and Fortran compilers. GCC accepts the options -std=c11 and -std=gnu11 for the C11 revision of the ISO C standard which inlcude support for unicode strings, nonreturning functions (_Noreturn and ), alignment support (_Alignas, _Alignof, max_align_t, ), and a __builtin_complex built-in function. The C++ frontend now accepts the -std=c++11, -std=gnu++11, and -Wc++11-compat options and implements many C++11 features of the language including extended friends syntax, explicit override control, non-static data member initializers, user-defined literals, alias declarations, delegating constructors, atomic classes, and more. The C++ standard library and Fortran frontend have received many improvements. See http://gcc.gnu.org/gcc-4.7/changes.html for an extense list of changes; http://gcc.gnu.org/gcc-4.7/porting_to.html for information on how to port to that new version. PR: 182136 Supported by: Christoph Moench-Tegeder (fixing many ports) Tested by: bdrewery (two -exp runs) --- lang/gcc/files/patch-unwind-ia64.h | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 lang/gcc/files/patch-unwind-ia64.h (limited to 'lang/gcc/files/patch-unwind-ia64.h') diff --git a/lang/gcc/files/patch-unwind-ia64.h b/lang/gcc/files/patch-unwind-ia64.h deleted file mode 100644 index 265c82c77042..000000000000 --- a/lang/gcc/files/patch-unwind-ia64.h +++ /dev/null @@ -1,19 +0,0 @@ -2010-09-12 Gerald Pfeifer - - PR target/45650 - * config/ia64/unwind-ia64.h: Do not mark _Unwind_FindTableEntry - hidden on FreeBSD. - -Index: gcc/config/ia64/unwind-ia64.h -=================================================================== ---- gcc/config/ia64/unwind-ia64.h (revision 164211) -+++ gcc/config/ia64/unwind-ia64.h (working copy) -@@ -40,4 +40,7 @@ - extern struct unw_table_entry * - _Unwind_FindTableEntry (void *pc, unsigned long *segment_base, - unsigned long *gp, struct unw_table_entry *ent) -- __attribute__ ((__visibility__ ("hidden"))); -+#ifndef __FreeBSD__ -+ __attribute__ ((__visibility__ ("hidden"))) -+#endif -+ ; -- cgit v1.2.3