------- Additional Comments From uros at kss-loka dot si  2004-12-10 15:34 
-------
This patch will fix the mainline, but more investigation is needed.

Index: cse.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cse.c,v
retrieving revision 1.327
diff -u -r1.327 cse.c
--- cse.c   26 Nov 2004 15:42:36 -0000 1.327
+++ cse.c   10 Dec 2004 15:30:34 -0000
@@ -3860,6 +3860,9 @@
 
     case RTX_COMPARE:
     case RTX_COMM_COMPARE:
+      if (VECTOR_MODE_P (mode))
+       break;
+
       /* See what items are actually being compared and set FOLDED_ARG[01]
         to those values and CODE to the actual comparison code.  If any are
         constant, set CONST_ARG0 and CONST_ARG1 appropriately.  We needn't

Uros.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17767

Reply via email to