OSDN Git Service

8
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Jan 1999 00:05:50 +0000 (00:05 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Jan 1999 00:05:50 +0000 (00:05 +0000)
        * alias.c (base_alias_check): Add missing return for differing
        symbols case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24731 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/alias.c

index 1adc8b3..de363bb 100644 (file)
@@ -840,6 +840,8 @@ base_alias_check (x, y, x_mode, y_mode)
          && (GET_CODE (XEXP (y, 1)) != CONST_INT
              || GET_MODE_UNIT_SIZE (x_mode) < -INTVAL (XEXP (y, 1))))
        return 1;
+      /* Differing symbols never alias.  */
+      return 0;
     }
 
   /* If one address is a stack reference there can be no alias: