On 05/21/2015 12:01 PM, H.J. Lu wrote:
> +++ b/gcc/testsuite/gcc.target/i386/pr66232-1.c
> @@ -0,0 +1,13 @@
> +/* { dg-do compile { target *-*-linux* } } */
> +/* { dg-options "-O2 -fpic -fno-plt" } */
> +
> +extern void bar (void);
> +
> +void
> +foo (void)
> +{
> +  bar ();
> +}
> +
> +/* { dg-final { scan-assembler "jmp\[ \t\]*.bar@GOTPCREL" { target { ! ia32 
> } } } } */
> +/* { dg-final { scan-assembler "call\[ \t\]*.bar@GOT\\(" { target ia32 } } } 
> */

Do you really want to check for no tail call for ia32 here?
That's really just a missed optimization, surely.


r~

Reply via email to