15a894d9f2
GCC Java removed, package now uses ISL 0.16.1 Release notes: We are proud to announce the next, major release of the GNU Compiler Collection, 7.1. This year we celebrated the 30th anniversary of the first GCC beta release and this month we will celebrate 30 years since the GCC 1.0 release. GCC 7.1 is a major release containing substantial new functionality not available in GCC 6.x or previous GCC releases. The C++ frontend now has experimental support for all of the current C++17 draft, with the -std=c++1z and -std=gnu++1z options, and the libstdc++ library has most of the C++17 draft library features implemented too. This releases features various improvements in the emitted diagnostics, including improved locations, location ranges, suggestions for misspelled identifiers, option names, fix-it hints and various new warnings have been added. The optimizers have been improved, with improvements appearing in all of intra- and inter-procedural optimizations, link time optimizations and various target backends, including, but not limited to, additions of store merging pass, code hoisting optimization, loop splitting, and shrink wrapping improvements. The Address Sanitizer can now report uses of variables after leaving their scope. GCC now can be configured for OpenMP 4.5 offloading to NVidia PTX GPGPUs. Some code that compiled successfully with older GCC versions might require some code adjustments, see http://gcc.gnu.org/gcc-7/porting_to.html for details. See https://gcc.gnu.org/gcc-7/changes.html for more information about changes in GCC 7.1.
27 lines
737 B
C
27 lines
737 B
C
$NetBSD: patch-gcc_system.h,v 1.1 2017/05/03 00:21:03 maya Exp $
|
|
|
|
--- gcc/system.h.orig 2013-04-29 18:37:29.000000000 +0000
|
|
+++ gcc/system.h
|
|
@@ -72,18 +72,22 @@ along with GCC; see the file COPYING3.
|
|
|
|
#if defined HAVE_DECL_PUTC_UNLOCKED && HAVE_DECL_PUTC_UNLOCKED
|
|
|
|
+# if !defined(__NetBSD__)
|
|
# ifdef HAVE_PUTC_UNLOCKED
|
|
# undef putc
|
|
# define putc(C, Stream) putc_unlocked (C, Stream)
|
|
# endif
|
|
+# endif
|
|
# ifdef HAVE_PUTCHAR_UNLOCKED
|
|
# undef putchar
|
|
# define putchar(C) putchar_unlocked (C)
|
|
# endif
|
|
+# if !defined(__NetBSD__)
|
|
# ifdef HAVE_GETC_UNLOCKED
|
|
# undef getc
|
|
# define getc(Stream) getc_unlocked (Stream)
|
|
# endif
|
|
+# endif
|
|
# ifdef HAVE_GETCHAR_UNLOCKED
|
|
# undef getchar
|
|
# define getchar() getchar_unlocked ()
|