public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: hongtao Liu <liuhongt@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r14-9078] Fix testcase for platform without gnu/stubs-x32.h
Date: Tue, 20 Feb 2024 07:43:28 +0000 (GMT)	[thread overview]
Message-ID: <20240220074328.3352E3858D32@sourceware.org> (raw)

https://gcc.gnu.org/g:5a9a9bd415ed1d211e00990226b90199407b3448

commit r14-9078-g5a9a9bd415ed1d211e00990226b90199407b3448
Author: liuhongt <hongtao.liu@intel.com>
Date:   Mon Feb 19 12:19:35 2024 +0800

    Fix testcase for platform without gnu/stubs-x32.h
    
    target maybe_x32 doesn't check if platform has gnu/stubs-x32.h, but
    it's included by stdint.h in the testcase.
    Adjust testcase: remove stdint.h, use 'typedef long long int64_t'
    instead.
    
    gcc/testsuite/ChangeLog:
    
            PR target/113711
            * gcc.target/i386/apx-ndd-x32-1.c: Adjust testcase.

Diff:
---
 gcc/testsuite/gcc.target/i386/apx-ndd-x32-1.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/i386/apx-ndd-x32-1.c b/gcc/testsuite/gcc.target/i386/apx-ndd-x32-1.c
index 4280d4004585..74197dbc641f 100644
--- a/gcc/testsuite/gcc.target/i386/apx-ndd-x32-1.c
+++ b/gcc/testsuite/gcc.target/i386/apx-ndd-x32-1.c
@@ -3,7 +3,7 @@
 /* { dg-require-effective-target maybe_x32 } */
 /* { dg-options "-mapxf -O2 -mx32" } */
 
-#include <stdint.h>
+typedef long long int64_t;
 
 #define FOO(TYPE, OP_NAME, OP, IMM)			\
 TYPE							\

                 reply	other threads:[~2024-02-20  7:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240220074328.3352E3858D32@sourceware.org \
    --to=liuhongt@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).