summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/combine.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f49f7529645..73b3fd2bed4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Wed May 16 18:53:23 CEST 2001 Jan Hubicka <jh@suse.cz>
+
+ * combine.c (combine_simplify_rtx): Set op0_mode to VOIDmode after
+ applying distributive law.
+
2001-05-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
* pa-hpux10.h (THREAD_MODEL_SPEC): Define.
diff --git a/gcc/combine.c b/gcc/combine.c
index 43820b244a7..a60f92e6eec 100644
--- a/gcc/combine.c
+++ b/gcc/combine.c
@@ -3706,6 +3706,7 @@ combine_simplify_rtx (x, op0_mode, last, in_dest)
{
x = apply_distributive_law (x);
code = GET_CODE (x);
+ op0_mode = VOIDmode;
}
/* If CODE is an associative operation not otherwise handled, see if we