public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-8511] x86: Limit -mcmodel=large tests to lp64 target
@ 2024-01-30  2:16 H.J. Lu
  0 siblings, 0 replies; only message in thread
From: H.J. Lu @ 2024-01-30  2:16 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:786208d7b230c07d292d8e269dd3d050ad11e1bf

commit r14-8511-g786208d7b230c07d292d8e269dd3d050ad11e1bf
Author: H.J. Lu <(no_default)>
Date:   Mon Jan 29 18:12:14 2024 -0800

    x86: Limit -mcmodel=large tests to lp64 target
    
    -mcmodel=large is only supported for lp64 targets.  Limit -mcmodel=large
    tests of libcall-1.c and pr107057.c to lp64 target.
    
            * gcc.target/i386/libcall-1.c: Limit to lp64 target.
            * gcc.target/i386/pr107057.c: Likewise.

Diff:
---
 gcc/testsuite/gcc.target/i386/libcall-1.c | 2 +-
 gcc/testsuite/gcc.target/i386/pr107057.c  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/gcc.target/i386/libcall-1.c b/gcc/testsuite/gcc.target/i386/libcall-1.c
index cb95aca7a29a..34a31dd23c6d 100644
--- a/gcc/testsuite/gcc.target/i386/libcall-1.c
+++ b/gcc/testsuite/gcc.target/i386/libcall-1.c
@@ -1,7 +1,7 @@
 /* Make sure that external refences for libcalls are generated even for
    indirect calls.  */
 
-/* { dg-do compile { target int128 } } */
+/* { dg-do compile { target { int128 && lp64 } } } */
 /* { dg-options "-O2 -mcmodel=large" } */
 /* { dg-final { scan-assembler "globl\t__divti3" } } */
 /* { dg-skip-if "PR90698" { *-*-darwin* } } */
diff --git a/gcc/testsuite/gcc.target/i386/pr107057.c b/gcc/testsuite/gcc.target/i386/pr107057.c
index 40b49ac21ecb..f4ebc3deef3c 100644
--- a/gcc/testsuite/gcc.target/i386/pr107057.c
+++ b/gcc/testsuite/gcc.target/i386/pr107057.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target { ! ia32 } } } */
+/* { dg-do compile { target lp64 } } */
 /* { dg-options "-mavx -mcmodel=large -O3" } */
 
 typedef double v2df __attribute__ ((vector_size (16)));

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-30  2:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-30  2:16 [gcc r14-8511] x86: Limit -mcmodel=large tests to lp64 target H.J. Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).