Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 2021 22:26:26 +0000 (UTC)
From:      Gerald Pfeifer <gerald@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r567966 - in head/lang/gcc11-devel: . files
Message-ID:  <202103092226.129MQQun023071@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gerald
Date: Tue Mar  9 22:26:25 2021
New Revision: 567966
URL: https://svnweb.freebsd.org/changeset/ports/567966

Log:
  Update to the 20210307 snapshot of GCC 11.0.1.
  
  Temporarily add files/patch-gcc-lra-constraints.c to work around
  upstream breakage.

Added:
  head/lang/gcc11-devel/files/patch-gcc-lra-constraints.c   (contents, props changed)
Modified:
  head/lang/gcc11-devel/Makefile
  head/lang/gcc11-devel/distinfo

Modified: head/lang/gcc11-devel/Makefile
==============================================================================
--- head/lang/gcc11-devel/Makefile	Tue Mar  9 22:16:25 2021	(r567965)
+++ head/lang/gcc11-devel/Makefile	Tue Mar  9 22:26:25 2021	(r567966)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	gcc
-PORTVERSION=	11.0.1.s20210228
+PORTVERSION=	11.0.1.s20210307
 CATEGORIES=	lang
 MASTER_SITES=	GCC/snapshots/${DIST_VERSION}
 PKGNAMESUFFIX=	${SUFFIX}-devel

Modified: head/lang/gcc11-devel/distinfo
==============================================================================
--- head/lang/gcc11-devel/distinfo	Tue Mar  9 22:16:25 2021	(r567965)
+++ head/lang/gcc11-devel/distinfo	Tue Mar  9 22:26:25 2021	(r567966)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1614807756
-SHA256 (gcc-11-20210228.tar.xz) = 3e323aae8a946d383c5d8b22c807516dea766877b86b69efbc1cd6a744b4c4d6
-SIZE (gcc-11-20210228.tar.xz) = 75217492
+TIMESTAMP = 1615235075
+SHA256 (gcc-11-20210307.tar.xz) = 0897b54cfa8283455abe100db3735c2a38f9567471c0353fcc2411588bded073
+SIZE (gcc-11-20210307.tar.xz) = 75254036

Added: head/lang/gcc11-devel/files/patch-gcc-lra-constraints.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/gcc11-devel/files/patch-gcc-lra-constraints.c	Tue Mar  9 22:26:25 2021	(r567966)
@@ -0,0 +1,17 @@
+Temporarily revert an upstream commit that breaks i386 / i586.
+Cf. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99422
+
+--- gcc/lra-constraints.c.orig	2021-03-07 22:32:27.000000000 +0000
++++ gcc/lra-constraints.c	2021-03-08 20:41:16.094547000 +0000
+@@ -3450,9 +3450,8 @@
+      i.e. bcst_mem_operand in i386 backend.  */
+   else if (MEM_P (mem)
+ 	   && !(INSN_CODE (curr_insn) < 0
+-		&& (cn == CONSTRAINT__UNKNOWN
+-		    || (get_constraint_type (cn) == CT_FIXED_FORM
+-			&& constraint_satisfied_p (op, cn)))))
++		&& get_constraint_type (cn) == CT_FIXED_FORM
++	        && constraint_satisfied_p (op, cn)))
+     decompose_mem_address (&ad, mem);
+   else if (GET_CODE (op) == SUBREG
+ 	   && MEM_P (SUBREG_REG (op)))



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103092226.129MQQun023071>