svn commit: r533759 - head/lang/gcc10-devel
Gerald Pfeifer
gerald at FreeBSD.org
Sun May 3 09:11:14 UTC 2020
Author: gerald
Date: Sun May 3 09:11:12 2020
New Revision: 533759
URL: https://svnweb.freebsd.org/changeset/ports/533759
Log:
Update to the 20200502 snapshot of GCC 10.0.1, which has branched for
the release of GCC 10.1 (and the GCC 10 release series) now.
Forward port r517843 | gerald | 2019-11-17 from lang/gcc9-devel since
this issue has not been addressed upstream or in our system compiler
yet. [1]
clang on rs6000/powerpc* unfortunately poisons user namespace by default
(without any special options or include files being required).
Until that changes (or GCC changes) we need to avoid using vec_step as a
variable name.
PR: 239266, 245483
Added:
head/lang/gcc10-devel/patch-clang-vec_step
- copied unchanged from r533709, head/lang/gcc9-devel/files/patch-clang-vec_step
Modified:
head/lang/gcc10-devel/Makefile
head/lang/gcc10-devel/distinfo
Modified: head/lang/gcc10-devel/Makefile
==============================================================================
--- head/lang/gcc10-devel/Makefile Sun May 3 09:08:24 2020 (r533758)
+++ head/lang/gcc10-devel/Makefile Sun May 3 09:11:12 2020 (r533759)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= gcc
-PORTVERSION= 10.0.1.s20200426
+PORTVERSION= 10.0.1.s20200502
CATEGORIES= lang
MASTER_SITES= GCC/snapshots/${DIST_VERSION}
PKGNAMESUFFIX= ${SUFFIX}-devel
Modified: head/lang/gcc10-devel/distinfo
==============================================================================
--- head/lang/gcc10-devel/distinfo Sun May 3 09:08:24 2020 (r533758)
+++ head/lang/gcc10-devel/distinfo Sun May 3 09:11:12 2020 (r533759)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1588276214
-SHA256 (gcc-10-20200426.tar.xz) = 30bc86cedeb3067397f6968b5e2f894690422d7eb225ada12423ef987b400864
-SIZE (gcc-10-20200426.tar.xz) = 71245664
+TIMESTAMP = 1588460385
+SHA256 (gcc-10-20200502.tar.xz) = a72ba391b8114837403a24b0776201411530093b85c70fe56ee2a932cc1d581e
+SIZE (gcc-10-20200502.tar.xz) = 71305288
Copied: head/lang/gcc10-devel/patch-clang-vec_step (from r533709, head/lang/gcc9-devel/files/patch-clang-vec_step)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lang/gcc10-devel/patch-clang-vec_step Sun May 3 09:11:12 2020 (r533759, copy of r533709, head/lang/gcc9-devel/files/patch-clang-vec_step)
@@ -0,0 +1,21 @@
+https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239266 reports how
+clang unfortunately poisons user namespace by default (without any
+special options).
+
+Until that changes (or GCC changes) we need to avoid using vec_step
+as a variable.
+
+--- UTC
+Index: gcc/tree-vect-loop.c
+===================================================================
+--- gcc/tree-vect-loop.c (revision 273856)
++++ gcc/tree-vect-loop.c (working copy)
+@@ -55,6 +55,8 @@ along with GCC; see the file COPYING3. If not see
+ #include "vec-perm-indices.h"
+ #include "tree-eh.h"
+
++#define vec_step vec_step_
++
+ /* Loop Vectorization Pass.
+
+ This pass tries to vectorize loops.
More information about the svn-ports-head
mailing list