*** empty log message ***
authorRichard Stallman <rms@gnu.org>
Mon, 6 Jul 1992 00:23:00 +0000 (00:23 +0000)
committerRichard Stallman <rms@gnu.org>
Mon, 6 Jul 1992 00:23:00 +0000 (00:23 +0000)
From-SVN: r1455

gcc/cse.c

index e4ed58ccdcdd9a766867bcd54e1589365b0bce46..ff1f772942e917b7251bbae44cd5b7ffd56af4d3 100644 (file)
--- a/gcc/cse.c
+++ b/gcc/cse.c
@@ -3404,6 +3404,11 @@ simplify_binary_operation (code, mode, op0, op1)
                return plus_constant (op0, INTVAL (op1));
              else if (GET_CODE (op0) == CONST_INT)
                return plus_constant (op1, INTVAL (op0));
+             else
+               break;
+#if 0 /* No good, because this can produce the sum of two relocatable
+        symbols, in an assembler instruction.  Most UNIX assemblers can't
+        handle that.  */
              else
                return gen_rtx (CONST, mode,
                                gen_rtx (PLUS, mode,
@@ -3411,6 +3416,7 @@ simplify_binary_operation (code, mode, op0, op1)
                                         ? XEXP (op0, 0) : op0,
                                         GET_CODE (op1) == CONST
                                         ? XEXP (op1, 0) : op1));
+#endif
            }
          else if (GET_CODE (op1) == CONST_INT
                   && GET_CODE (op0) == PLUS