]> gcc.gnu.org Git - gcc.git/commitdiff
jit: fix test-asm failures on i?86
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 25 Jun 2021 23:07:25 +0000 (19:07 -0400)
committerDavid Malcolm <dmalcolm@redhat.com>
Fri, 25 Jun 2021 23:07:25 +0000 (19:07 -0400)
On i686, test_i386_basic_asm_4 has:
  error: inconsistent operand constraints in an 'asm'
and test_i386_basic_asm_5 has:
  /tmp/libgccjit-9FsLie/fake.s:9: Error: bad register name `%rdi'
  /tmp/libgccjit-9FsLie/fake.s:10: Error: bad register name `%rsi'

This is only intended as a smoketest of asm support, so only run
it on x86_64.

gcc/testsuite/ChangeLog:
* jit.dg/test-asm.c: Remove i?86-*-* from target specifier.
* jit.dg/test-asm.cc: Likewise.

Signed-off-by: David Malcolm <dmalcolm@redhat.com>
gcc/testsuite/jit.dg/test-asm.c
gcc/testsuite/jit.dg/test-asm.cc

index e7777eeb4feff6d81ed6330c44d602e17baa8c5e..35a9f9d8605b9eadddc91ba104f0aab3fe4d01ff 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
+/* { dg-do compile { target x86_64-*-* } } */
 
 #include <stdlib.h>
 #include <stdio.h>
index 6f1828060ff6b8546b069321edc4df307ad02f6d..be487e3fb6933de6af07af31eeb8a2ee3bb4a6ff 100644 (file)
@@ -1,4 +1,4 @@
-/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
+/* { dg-do compile { target x86_64-*-* } } */
 
 #include "libgccjit++.h"
 
This page took 0.069515 seconds and 5 git commands to generate.