[1/4] testsuite, jit: test-alias-attribute.c requires alias support.

Message ID 20240113135718.57643-2-iain@sandoe.co.uk
State Unresolved
Headers
Series [1/4] testsuite, jit: test-alias-attribute.c requires alias support. |

Checks

Context Check Description
snail/gcc-patch-check warning Git am fail log

Commit Message

Iain Sandoe Jan. 13, 2024, 1:57 p.m. UTC
  Add a dg-require-alias to cover this.

gcc/testsuite/ChangeLog:

	* jit.dg/test-alias-attribute.c: Require target alias
	support.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
---
 gcc/testsuite/jit.dg/test-alias-attribute.c | 1 +
 1 file changed, 1 insertion(+)
  

Comments

David Malcolm Jan. 16, 2024, 7:39 p.m. UTC | #1
On Sat, 2024-01-13 at 13:57 +0000, Iain Sandoe wrote:
> Add a dg-require-alias to cover this.

Sorry about the breakage; LGTM for trunk.

Thanks
Dave

> 
> gcc/testsuite/ChangeLog:
> 
>         * jit.dg/test-alias-attribute.c: Require target alias
>         support.
> 
> Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
> ---
>  gcc/testsuite/jit.dg/test-alias-attribute.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/gcc/testsuite/jit.dg/test-alias-attribute.c
> b/gcc/testsuite/jit.dg/test-alias-attribute.c
> index eb29003dfc9..4741aba5011 100644
> --- a/gcc/testsuite/jit.dg/test-alias-attribute.c
> +++ b/gcc/testsuite/jit.dg/test-alias-attribute.c
> @@ -1,4 +1,5 @@
>  /* { dg-do compile { target x86_64-*-* } } */
> +/* { dg-require-alias "" } */
>  
>  #include <stdlib.h>
>  #include <stdio.h>
  

Patch

diff --git a/gcc/testsuite/jit.dg/test-alias-attribute.c b/gcc/testsuite/jit.dg/test-alias-attribute.c
index eb29003dfc9..4741aba5011 100644
--- a/gcc/testsuite/jit.dg/test-alias-attribute.c
+++ b/gcc/testsuite/jit.dg/test-alias-attribute.c
@@ -1,4 +1,5 @@ 
 /* { dg-do compile { target x86_64-*-* } } */
+/* { dg-require-alias "" } */
 
 #include <stdlib.h>
 #include <stdio.h>