1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

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
This commit is contained in:
Gerald Pfeifer 2020-05-03 09:11:12 +00:00
parent c9c177e4db
commit 17bc1455c5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=533759
3 changed files with 25 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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.