summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-16 22:55:14 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-16 22:55:14 +0000
commit7b5a33a4bfb8a6c71d1e1fb35544dc199f1ffb8b (patch)
treef1beb5645d6aa8d091874e2ad1bffa06515ad58b
parentf09543b5e96443d8a5d9ff62c282fdb98658efbd (diff)
downloadppe42-gcc-7b5a33a4bfb8a6c71d1e1fb35544dc199f1ffb8b.tar.gz
ppe42-gcc-7b5a33a4bfb8a6c71d1e1fb35544dc199f1ffb8b.zip
* simplify-rtx (simplify_binary_operation): Don't abort for
SS_PLUS, US_PLUS, SS_MINUS, US_MINUS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64452 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/simplify-rtx.c7
2 files changed, 12 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0b582475060..d96fbe42a5a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2003-03-16 Richard Henderson <rth@redhat.com>
+ * simplify-rtx (simplify_binary_operation): Don't abort for
+ SS_PLUS, US_PLUS, SS_MINUS, US_MINUS.
+
+2003-03-16 Richard Henderson <rth@redhat.com>
+
* config/i386/i386.md (movstrictqi, movstrictqi_1): Check
optimize_size as well.
diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c
index 0bd9b6055b6..50c436f6339 100644
--- a/gcc/simplify-rtx.c
+++ b/gcc/simplify-rtx.c
@@ -1863,6 +1863,13 @@ simplify_binary_operation (code, mode, op0, op1)
> (unsigned HOST_WIDE_INT) arg1 ? arg0 : arg1);
break;
+ case SS_PLUS:
+ case US_PLUS:
+ case SS_MINUS:
+ case US_MINUS:
+ /* ??? There are simplifications that can be done. */
+ return 0;
+
default:
abort ();
}
OpenPOWER on IntegriCloud