On Wed, Nov 22, 2017 at 10:07:04PM +0100, Jakub Jelinek wrote:
> On Mon, Nov 13, 2017 at 11:32:14AM +0100, Marek Polacek wrote:
> >     * g++.dg/abi/pr68355.C: New test.
> 
> This testcase FAILs on i686-linux, my understanding is that the ABI
> changed only if TARGET_64BIT on x86_64/i686-linux.
 
Correct.

> The following patch fixes it for me, ok for trunk?

Ok.  I thought I had adjusted all the tests, but apparently I forgot to
run this one with -m32.

Thanks!

> 2017-11-22  Jakub Jelinek  <ja...@redhat.com>
> 
>       * g++.dg/abi/pr68355.C: Don't expect tail call on ia32.
> 
> --- gcc/testsuite/g++.dg/abi/pr68355.C.jj     2017-11-22 21:37:44.000000000 
> +0100
> +++ gcc/testsuite/g++.dg/abi/pr68355.C        2017-11-22 21:44:13.220962389 
> +0100
> @@ -21,4 +21,4 @@ yyy (void)
>    xxx (y);
>  }
>  
> -// { dg-final { scan-assembler "jmp\[\t 
> \]+\[^\$\]*?_Z3xxx17integral_constantIbLb1EE" { target i?86-*-* x86_64-*-* } 
> } }
> +// { dg-final { scan-assembler "jmp\[\t 
> \]+\[^\$\]*?_Z3xxx17integral_constantIbLb1EE" { target { { i?86-*-* 
> x86_64-*-* } && { ! ia32 } } } } }

        Marek

Reply via email to