pkgsrc/lang/gcc7/patches/patch-isl_configure
maya 15a894d9f2 Add GCC 7.1.0
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.
2017-05-03 00:21:03 +00:00

24 lines
552 B
Text

$NetBSD: patch-isl_configure,v 1.1 2017/05/03 00:21:03 maya Exp $
Make test portable
--- isl/configure.orig 2016-01-14 17:26:10.000000000 +0000
+++ isl/configure
@@ -17561,7 +17561,7 @@ else
fi
- if test "x$with_int" == "ximath-32"; then
+ if test "x$with_int" = "ximath-32"; then
SMALL_INT_OPT_TRUE=
SMALL_INT_OPT_FALSE='#'
else
@@ -17569,7 +17569,7 @@ else
SMALL_INT_OPT_FALSE=
fi
-if test "x$with_int" == "ximath-32"; then :
+if test "x$with_int" = "ximath-32"; then :
$as_echo "#define USE_SMALL_INT_OPT /**/" >>confdefs.h