re PR tree-optimization/36345 (TBAA-pruning of points-to sets ineffective)
[platform/upstream/gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20020619-1.c
index 5ed4d00..6db1546 100644 (file)
@@ -14,19 +14,11 @@ static int ref(void)
   return u.i;
 }
 
-#define MAX(a,b)  (a < b ? b : a)
-
-static int test(void)
-{
-  char c[MAX(5, sizeof(int))] __attribute__((aligned)) = { 1, 2, 3, 4 };
-  return *(int *)c;
-}
-
 int main()
 {
-  int a = test();
   int b = ref();
-  if (a != b)
+  if (b != 0x01020304
+      && b != 0x04030201)
     abort ();
   return 0;
 }