Reset branch to trunk.
[official-gcc.git] / trunk / gcc / testsuite / gcc.target / ia64 / sibcall-opt-2.c
blobd802b792deae834fc1f00d0f9f24aea822a6625f
1 /* PR target/38056. Do sibcall optimization across object file
2 boundery when -mconstant-gp is used. */
3 /* { dg-do compile } */
4 /* { dg-options "-O2 -mconstant-gp" } */
5 /* { dg-final { scan-assembler-not "br.call.*bar" } } */
7 int bar(int x);
9 int foo(int x)
11 return (bar(x + 1));