tags 711558 + patch
thanks

Hi,

please apply this one, the failure in interpret.cc is gone,
and we apparently had a patch for this in 4.6 already.

gcc-4.8 (4.8.1-7+m68k.1) unreleased; urgency=low

  * Apply patch from Mikael Pettersson to fix PR49847. (Closes: #711558)

 -- Thorsten Glaser <t...@mirbsd.de>  Fri, 19 Jul 2013 13:10:43 +0200


diff -u gcc-4.8-4.8.1/debian/rules.patch gcc-4.8-4.8.1/debian/rules.patch
--- gcc-4.8-4.8.1/debian/rules.patch
+++ gcc-4.8-4.8.1/debian/rules.patch
@@ -81,6 +81,7 @@
        kfreebsd-unwind \
        libgcc-no-limits-h \
        kfreebsd-boehm-gc \
+       pr49847 \
 
 #      $(if $(filter yes, $(DEB_CROSS)),,gcc-print-file-name) \
 #      libstdc++-nothumb-check \
only in patch2:
unchanged:
--- gcc-4.8-4.8.1.orig/debian/patches/pr49847.diff
+++ gcc-4.8-4.8.1/debian/patches/pr49847.diff
@@ -0,0 +1,28 @@
+gcc/
+
+2012-02-26  Mikael Pettersson  <mi...@it.uu.se>
+
+       PR rtl-optimization/49847
+       * cse.c (fold_rtx) <case CC0>: If prev_insn_cc0 is zero
+       don't call equiv_constant on it.
+
+--- a/src/gcc/cse.c
++++ b/src/gcc/cse.c
+@@ -3194,9 +3194,14 @@ fold_rtx (rtx x, rtx insn)
+ 
+ #ifdef HAVE_cc0
+         case CC0:
+-          folded_arg = prev_insn_cc0;
+-          mode_arg = prev_insn_cc0_mode;
+-          const_arg = equiv_constant (folded_arg);
++          if (!prev_insn_cc0)
++            const_arg = 0;
++          else
++            {
++              folded_arg = prev_insn_cc0;
++              mode_arg = prev_insn_cc0_mode;
++              const_arg = equiv_constant (folded_arg);
++            }
+           break;
+ #endif
+ 

Thanks,
//mirabilos
-- 
17:08⎜«Vutral» früher gabs keine packenden smartphones und so
17:08⎜«Vutral» heute gibts frauen die sind facebooksüchtig
17:10⎜«Vutral» aber auch traurig; früher warst du als nerd voll am arsch
17:10⎜«Vutral» heute bist du als nerd der einzige der wirklich damit klarkommt


--
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/pine.bsm.4.64l.1307232325300.26...@herc.mirbsd.org

Reply via email to