Revert DECL_USER_ALIGN part of r241959
[official-gcc.git] / gcc / testsuite / gcc.dg / pr42084.c
blobd5aad9642cc00a9099859f891f6c04cb94e4f26b
1 /* { dg-do run } */
2 /* { dg-options "-O1 -fno-delete-null-pointer-checks" } */
3 extern void abort (void);
4 int g = 0;
5 static int __attribute__((noinline)) f (long long a, long long b)
7 int cmp;
8 cmp = a > b;
9 if (&g == 0)
10 cmp-=2;
11 else
12 cmp++;
13 return cmp;
16 int main (void)
18 int ret = f (2, 1);
19 if (ret != 2)
20 abort ();
21 return 0;