]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR rtl-optimization/18614 (ICE in simplify_binary_operation)
authorUros Bizjak <uros@kss-loka.si>
Wed, 24 Nov 2004 14:20:56 +0000 (15:20 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Wed, 24 Nov 2004 14:20:56 +0000 (15:20 +0100)
PR rtl-optimization/18614
* simplify-rtx.c (simplify_binary_operation): Do not
simplify inner elements of constant arguments of
VEC_CONCAT insn.

testsuite:

* gcc.dg/pr18614-1.c: New test.

From-SVN: r91159

gcc/ChangeLog
gcc/simplify-rtx.c
gcc/testsuite/ChangeLog

index c33f9c5c9ef820ef43fba4c8814bc9f75ff313dd..2e2ce708a9b6e25753df28e856d335225667464b 100644 (file)
@@ -1,3 +1,10 @@
+2004-11-24  Uros Bizjak  <uros@kss-loka.si>
+
+       PR rtl-optimization/18614
+       * simplify-rtx.c (simplify_binary_operation): Do not
+       simplify inner elements of constant arguments of
+       VEC_CONCAT insn.
+
 2004-11-23  Eric Botcazou  <ebotcazou@libertysurf.fr>
 
        Backport from mainline:
index 36dd9a17335650ab3f67ba66fe3913bccc37b0e1..91fe8e258e012a8f912f99853ff8aa08b350bfb7 100644 (file)
@@ -1184,6 +1184,7 @@ simplify_binary_operation (enum rtx_code code, enum machine_mode mode,
     }
 
   if (VECTOR_MODE_P (mode)
+      && code != VEC_CONCAT
       && GET_CODE (trueop0) == CONST_VECTOR
       && GET_CODE (trueop1) == CONST_VECTOR)
     {
index 8fac07defee22345cbbdfdd3a44ca05198c4aab5..2179fd4bc791dc52e19e77e17c112121704c0fbf 100644 (file)
@@ -1,3 +1,7 @@
+2004-11-24  Uros Bizjak <uros@kss-loka.si>
+
+       * gcc.dg/pr18614-1.c: New test.
+
 2004-11-23  Eric Botcazou  <ebotcazou@libertysurf.fr>
 
        * gcc.dg/setjmp-2.c: New test.