[PATCH] Implementation of asm goto outputs

Jakub Jelinek jakub@redhat.com
Fri Nov 13 15:54:31 GMT 2020


On Fri, Nov 13, 2020 at 04:51:09PM +0100, Uros Bizjak via Gcc-patches wrote:
> --- /dev/null
> +++ b/gcc/testsuite/gcc.c-torture/compile/asmgoto-4.c
> @@ -0,0 +1,14 @@
> +/* Check that LRA really puts output reloads for p4 in two successors blocks */
> +/* { dg-do compile { target x86_64-*-* } } */
> 
> Please use:
> 
> /* { dg-do compile { target { { i?86-*-* x86_64-*-* } && { ! ia32 } } } } */
> 
> to correctly select 64bit x86 targets.

Or lp64 instead of { ! ia32 }, depending on if it should work on -mx32 or not.
As they are compile time tests, one can test them easily...

	Jakub



More information about the Gcc-patches mailing list