Revert DECL_USER_ALIGN part of r241959
[official-gcc.git] / gcc / testsuite / gcc.dg / ira-shrinkwrap-prep-1.c
blob24ea45fe40e79c71e491b282a1d28b34f347320c
1 /* { dg-do compile { target { { { i?86-*-* x86_64-*-* } && lp64 } || { { powerpc*-*-* && lp64 } || { arm_nothumb || { aarch64*-*-* && lp64 } } } } } } */
2 /* { dg-options "-O3 -fdump-rtl-ira -fdump-rtl-pro_and_epilogue -fno-ipa-ra" } */
4 long __attribute__((noinline, noclone))
5 foo (long a)
7 return a + 5;
10 static long g __attribute__ ((used));
12 long __attribute__((noinline, noclone))
13 bar (long a)
15 long r;
17 if (a)
19 r = foo (a);
20 g = r + a;
22 else
23 r = a+1;
24 return r;
27 /* { dg-final { scan-rtl-dump "Will split live ranges of parameters" "ira" } } */
28 /* { dg-final { scan-rtl-dump "Split live-range of register" "ira" } } */
29 /* { dg-final { scan-rtl-dump "Performing shrink-wrapping" "pro_and_epilogue" } } */