Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Nov 2019 13:47:58 +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: r518650 - head/lang/gcc9/files
Message-ID:  <201911291347.xATDlw80077117@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



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