From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2078) id 3352E3858D32; Tue, 20 Feb 2024 07:43:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3352E3858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1708415008; bh=1ClS3k4l6Mqmlci5Fd0CsdKt8cwPucxSVlZ/rF1BuT4=; h=From:To:Subject:Date:From; b=XfIP1DTsDKUh+7YwHTxlRndnAlo53B4XcfiDY3gnRLkhOzU7r1qlUqJCz8ppMAA6o iPao7vLnQFei/wrVvXETTLu900s/nHOfIwGu0kpruyKPQMh0K53eXE65Y7xjDAn+5r ePFY4eJlQvgZimNCtmT8XmtAT10UbhDcSi3AYaMc= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: hongtao Liu To: gcc-cvs@gcc.gnu.org Subject: [gcc r14-9078] Fix testcase for platform without gnu/stubs-x32.h X-Act-Checkin: gcc X-Git-Author: liuhongt X-Git-Refname: refs/heads/master X-Git-Oldrev: 524902784662306f11fb37ccb1956af9bb3d9784 X-Git-Newrev: 5a9a9bd415ed1d211e00990226b90199407b3448 Message-Id: <20240220074328.3352E3858D32@sourceware.org> Date: Tue, 20 Feb 2024 07:43:28 +0000 (GMT) List-Id: https://gcc.gnu.org/g:5a9a9bd415ed1d211e00990226b90199407b3448 commit r14-9078-g5a9a9bd415ed1d211e00990226b90199407b3448 Author: liuhongt 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 +typedef long long int64_t; #define FOO(TYPE, OP_NAME, OP, IMM) \ TYPE \