svn commit: r518650 - head/lang/gcc9/files
Gerald Pfeifer
gerald at FreeBSD.org
Fri Nov 29 13:47:58 UTC 2019
Author: gerald
Date: Fri Nov 29 13:47:58 2019
New Revision: 518650
URL: https://svnweb.freebsd.org/changeset/ports/518650
Log:
Temporarily apply a patch from upstream that addresses a build failure
on powerpc ("error: integer constant is too large for 'long' type").
This is already part of lang/gcc9-devel after r518494 and the 20191123
snapshot of GCC 9.2.1; it will be part of the GCC 9.3 release at which
point we can remove this local patch again.
PR: 241125
Added:
head/lang/gcc9/files/patch-powerpc32 (contents, props changed)
Added: head/lang/gcc9/files/patch-powerpc32
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lang/gcc9/files/patch-powerpc32 Fri Nov 29 13:47:58 2019 (r518650)
@@ -0,0 +1,21 @@
+This is from the GCC 9 release branch, already part of lang/gcc9-devel
+snapshots and will be in GCC 9.3.
+
+2019-11-12 Segher Boessenkool <segher at kernel.crashing.org>
+
+ * config/rs6000/rs6000.md (rs6000_set_fpscr_drn): Use ULL on big
+ hexadecimal literal.
+
+Index: gcc/config/rs6000/rs6000.md
+===================================================================
+--- gcc/config/rs6000/rs6000.md (revision 278106)
++++ gcc/config/rs6000/rs6000.md (revision 278107)
+@@ -6008,7 +6008,7 @@
+ /* Insert new RN mode into FSCPR. */
+ emit_insn (gen_rs6000_mffs (tmp_df));
+ tmp_di = simplify_gen_subreg (DImode, tmp_df, DFmode, 0);
+- emit_insn (gen_anddi3 (tmp_di, tmp_di, GEN_INT (0xFFFFFFF8FFFFFFFF)));
++ emit_insn (gen_anddi3 (tmp_di, tmp_di, GEN_INT (0xFFFFFFF8FFFFFFFFULL)));
+ emit_insn (gen_iordi3 (tmp_di, tmp_di, tmp_rn));
+
+ /* Need to write to field 7. The fields are [0:15]. The equation to
More information about the svn-ports-all
mailing list