1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fno-early-inlining -fdump-ipa-cp -fdump-tree-optimized" } */
6 extern int fail_the_test(void *);
7 extern int pass_the_test(void *);
8 extern int diversion (void *);
10 static int __attribute__((noinline
))
13 uintptr_t a
= (uintptr_t) p
;
16 return fail_the_test (p
);
18 return pass_the_test (p
);
24 double buf
[8] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__
)));
29 /* { dg-final { scan-ipa-dump "Adjusting alignment of param" "cp" } } */
30 /* { dg-final { scan-tree-dump-not "fail_the_test" "optimized" } } */
31 /* { dg-final { cleanup-ipa-dump "cp" } } */
32 /* { dg-final { cleanup-tree-dump "optimized" } } */