svn commit: r540377 - in head/lang/gcc11-devel: . files
Gerald Pfeifer
gerald at FreeBSD.org
Thu Jun 25 07:07:28 UTC 2020
Author: gerald
Date: Thu Jun 25 07:07:27 2020
New Revision: 540377
URL: https://svnweb.freebsd.org/changeset/ports/540377
Log:
Update to the 20200621 snapshot of GCC 11.0.0.
Temporarily add files/patch-PR95805 to address the GCC failing the
build with clang.
Added:
head/lang/gcc11-devel/files/patch-PR95805 (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 Thu Jun 25 06:50:17 2020 (r540376)
+++ head/lang/gcc11-devel/Makefile Thu Jun 25 07:07:27 2020 (r540377)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= gcc
-PORTVERSION= 11.0.0.s20200614
+PORTVERSION= 11.0.0.s20200621
CATEGORIES= lang
MASTER_SITES= GCC/snapshots/${DIST_VERSION}
PKGNAMESUFFIX= ${SUFFIX}-devel
Modified: head/lang/gcc11-devel/distinfo
==============================================================================
--- head/lang/gcc11-devel/distinfo Thu Jun 25 06:50:17 2020 (r540376)
+++ head/lang/gcc11-devel/distinfo Thu Jun 25 07:07:27 2020 (r540377)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1592293522
-SHA256 (gcc-11-20200614.tar.xz) = 40635ce0e16ad628ea195270923b2bcbbcb6e1e552e0a18dfc1a9c49f286a741
-SIZE (gcc-11-20200614.tar.xz) = 71538232
+TIMESTAMP = 1592784068
+SHA256 (gcc-11-20200621.tar.xz) = ac7566828cba717b23e0a954ac72dff9fa39cddbaa9beb03a3dedf72bccec75c
+SIZE (gcc-11-20200621.tar.xz) = 71629184
Added: head/lang/gcc11-devel/files/patch-PR95805
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lang/gcc11-devel/files/patch-PR95805 Thu Jun 25 07:07:27 2020 (r540377)
@@ -0,0 +1,47 @@
+This should be properly fixed upstream by the next snapshot.
+
+Revert commit 4e49b994de060d4a6c9318d0ed52ef038153426e
+Author: Richard Sandiford <richard.sandiford at arm.com>
+Date: Wed Jun 17 17:45:29 2020 +0100
+
+ recog: Tweak insn_gen_fn::operator() definition
+
+ Fixes a “left operand of comma has no effect” warning that some were
+ seeing. Also fixes a spurious ellipsis that Jonathan Wakely pointed
+ out.
+
+ 2020-06-17 Richard Sandiford <richard.sandiford at arm.com>
+
+ gcc/
+ * coretypes.h (first_type): New alias template.
+ * recog.h (insn_gen_fn::operator()): Use it instead of a decltype.
+ Remove spurious “...” and split the function type out into a typedef.
+
+--- gcc/coretypes.h 2020-06-21 22:32:12.000000000 +0000
++++ gcc/coretypes.h 2020-06-23 18:56:41.074951000 +0000
+@@ -359,10 +359,6 @@
+ const ValueType value; /* the value of the name */
+ };
+
+-/* Alias of the first type, ignoring the second. */
+-template<typename T1, typename T2>
+-using first_type = T1;
+-
+ /* Iterator pair used for a collection iteration with range-based loops. */
+
+ template<typename T>
+--- gcc/recog.h
++++ gcc/recog.h
+@@ -295,10 +295,9 @@ struct insn_gen_fn
+ typedef void (*stored_funcptr) (void);
+
+ template<typename ...Ts>
+- rtx_insn *operator() (Ts... args) const
++ rtx_insn *operator() (Ts... args...) const
+ {
+- typedef rtx_insn *(*funcptr) (first_type<rtx, Ts>...);
+- return ((funcptr) func) (args...);
++ return ((rtx_insn *(*) (decltype(args, NULL_RTX)...)) func) (args...);
+ }
+
+ // This is for compatibility of code that invokes functions like
More information about the svn-ports-head
mailing list