1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fno-early-inlining -fdump-ipa-cp -fdump-tree-optimized" } */
3 /* { dg-skip-if "No alignment restrictions" { { ! natural_alignment_32 } && { ! natural_alignment_64 } } } */
7 extern int fail_the_test(void *);
8 extern int pass_the_test(void *);
9 extern int diversion (void *);
11 static int __attribute__((noinline
))
14 uintptr_t a
= (uintptr_t) p
;
17 return fail_the_test (p
);
19 return pass_the_test (p
);
25 double buf
[8] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__
)));
30 /* { dg-final { scan-ipa-dump "Adjusting align" "cp" } } */
31 /* { dg-final { scan-tree-dump-not "fail_the_test" "optimized" } } */