aboutsummaryrefslogtreecommitdiff
path: root/gcc/cse.c
diff options
context:
space:
mode:
authorUros Bizjak <uros@kss-loka.si>2005-01-04 16:44:25 +0100
committerUros Bizjak <uros@gcc.gnu.org>2005-01-04 16:44:25 +0100
commit21e5076a0b103569103829459be6457c3c39e39d (patch)
tree6f5abb5eb8e24f267bbefd9b81df36259ebcfce3 /gcc/cse.c
parent8ea9d0c7c932328745976c01943afafaa8c729ee (diff)
downloadgcc-21e5076a0b103569103829459be6457c3c39e39d.zip
gcc-21e5076a0b103569103829459be6457c3c39e39d.tar.gz
gcc-21e5076a0b103569103829459be6457c3c39e39d.tar.bz2
re PR middle-end/17767 (MMX intrinsics cause internal compiler error)
PR middle-end/17767 * cse.c (fold_rtx) [RTX_COMPARE, RTX_COMM_COMPARE]: Don't attempt any simplifications of vector mode comparison operators. * simplify-rtx.c (simplify_relational_operation): Fix variable name. testsuite: * gcc.dg/i386-mmx-6.c: New test case. From-SVN: r92896
Diffstat (limited to 'gcc/cse.c')
-rw-r--r--gcc/cse.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/cse.c b/gcc/cse.c
index 09c113b..766c725 100644
--- a/gcc/cse.c
+++ b/gcc/cse.c
@@ -3865,6 +3865,10 @@ fold_rtx (rtx x, rtx insn)
constant, set CONST_ARG0 and CONST_ARG1 appropriately. We needn't
do anything if both operands are already known to be constant. */
+ /* ??? Vector mode comparisons are not supported yet. */
+ if (VECTOR_MODE_P (mode))
+ break;
+
if (const_arg0 == 0 || const_arg1 == 0)
{
struct table_elt *p0, *p1;