From 5244c21dd019363b3879761fc657941382ea72c7 Mon Sep 17 00:00:00 2001 From: "Pedro F. Giffuni" Date: Tue, 17 Dec 2013 21:39:40 +0000 Subject: [PATCH] gcc: fix ICE in rs600 when using -fno-trapping-math. Solve build issue with previous change. Obtained from: gcc 4.3 (rev. 120902; GPLv2) MFC after: 2 weeks --- contrib/gcc/config/rs6000/rs6000.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/contrib/gcc/config/rs6000/rs6000.c b/contrib/gcc/config/rs6000/rs6000.c index a4d2020c79ea..7878ed127d64 100644 --- a/contrib/gcc/config/rs6000/rs6000.c +++ b/contrib/gcc/config/rs6000/rs6000.c @@ -11747,10 +11747,11 @@ rs6000_emit_vector_compare (enum rtx_code rcode, { enum rtx_code rev_code; enum insn_code nor_code; + rtx eq_rtx; rev_code = reverse_condition_maybe_unordered (rcode); - rtx eq_rtx = rs6000_emit_vector_compare (rev_code, op0, op1, - dest_mode); + eq_rtx = rs6000_emit_vector_compare (rev_code, op0, op1, + dest_mode); nor_code = one_cmpl_optab->handlers[(int)dest_mode].insn_code; gcc_assert (nor_code != CODE_FOR_nothing);