1 /* PR middle-end/18548 */
2 /* Test case reduced by Andrew Pinski <pinskia@physics.uc.edu> */
4 /* { dg-options "-O1 " } */
5 /* Option -fno-tree-lrs removed By Andrew MacLeod since it is no longer
6 supported in the compiler beginning with GCC 4.3. */
7 /* m32c has varying sized pointers */
8 /* { dg-skip-if "" { "m32c-*-*" } { "*" } { "-mcpu=m32c" "-mcpu=m32cm" } } */
10 extern void abort (void);
14 void f(long a, long b)
17 long d = *((long*)(a+1));
27 /* The variable a cannot be a local variable as we get better aliasing
28 now and decide that the store to a is dead. The better aliasing comes
29 from better representation of pointer arithmetic. */