From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) by sourceware.org (Postfix) with ESMTPS id 8F0BA3858286; Thu, 4 Jan 2024 01:58:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8F0BA3858286 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=gcc.gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 8F0BA3858286 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=209.85.214.172 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704333539; cv=none; b=hB3fgnRD8yr5huTLPtzFXe64zX62jiMBli+4UbCuXtLbqaiU/Wrs/Evtc8w1z8v0PwnLKpNA9Af0Lv7Pngf4zXe13l9coe11mwSV3h11twZcktyFhOd/9i+Wk9HKxDViZQwlwGcVAnfeAG6mSW4sVGvNj597NjxWj+hKC8HL5KM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704333539; c=relaxed/simple; bh=JIJdSEg031TMqIR6qRgUwEzPtNbtM+DQ6LAB/rba/JI=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=rsLcN/o3+USadGsUEPBD9bW7hIBLt9rrd2DnxRkH49u/cZm45D0RMbFIEtwX8XmmtpVgzE6ZC8MnIv+GNKC2fgdHRVwFbQp+0+tINbok/beimLKJ0DcQC6lwMZQTx8wGvaNpYQsPywG4D7Ge64+hpJBoDQ72B5hpDuBm8Y89XHM= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-1d3e2972f65so88065ad.3; Wed, 03 Jan 2024 17:58:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704333534; x=1704938334; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=msoAz+OT62+PjGBFaf76uG+AsPw0LFwnoK4HBLASHdg=; b=Phq0A51+9V6Pq+rMXjOC4st6DBWg+BwNUEFOqJygAz60XpvvxmR7eO8t48sHkHTdSh 1VNl9UVt3HuRqQp8VcyUc8QNY6r4PNVIREVN4GfcwQWSV4929g2dCgNzfxn1tz6toIx6 sE4iUqKM0sXAx2glvRIcZylMLXehzaILR87nYzBNDs6VXXti7AuOZDgiVZypThzNLVf/ Vvli9zu3kE1vvvGMrM8STWXx9Z43h0UsuJqymPNPSMG/8XUsO7gE2zPyan+7qtcL//sv SyTMX4FFNx4wG6YXurDGxPHb/tuAKVV/d4WAkvFazmBE3866LAQOhVvn9MBeUImgIZ1s Y2OA== X-Gm-Message-State: AOJu0YxO41caCBqyv4Y4CKk+AZHCfNn1ivqNrHWd0xZbgnRKKb6R/CmV u7JTykZ6AfY89Tn6lNS/krM1CJIYsQ9GUw== X-Google-Smtp-Source: AGHT+IGReDLQXQ5OkpTBHHN9ITz+iNJm2SjLocD+WOcdbboeGv4SvWgGWD0IQl3xOVHpGNBSB19CZg== X-Received: by 2002:a17:902:e5d2:b0:1d4:d3e9:79ad with SMTP id u18-20020a170902e5d200b001d4d3e979admr1359846plf.5.1704333533616; Wed, 03 Jan 2024 17:58:53 -0800 (PST) Received: from localhost.localdomain ([149.248.38.156]) by smtp.gmail.com with ESMTPSA id e6-20020a170902744600b001d4b0ae7052sm7028122plt.135.2024.01.03.17.58.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 17:58:52 -0800 (PST) From: YunQiang Su To: gcc-patches@gcc.gnu.org Cc: YunQiang Su Subject: [committed] MIPS/testsuite: Include stdio.h in mipscop tests Date: Thu, 4 Jan 2024 09:58:19 +0800 Message-Id: <20240104015819.353901-4-syq@gcc.gnu.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240104015819.353901-1-syq@gcc.gnu.org> References: <20240104015819.353901-1-syq@gcc.gnu.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-10.9 required=5.0 tests=BAYES_00,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,GIT_PATCH_0,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: gcc/testsuite * gcc.c-torture/compile/mipscop-1.c: Include stdio.h. * gcc.c-torture/compile/mipscop-2.c: Ditto. * gcc.c-torture/compile/mipscop-3.c: Ditto. * gcc.c-torture/compile/mipscop-4.c: Ditto. --- gcc/testsuite/gcc.c-torture/compile/mipscop-1.c | 1 + gcc/testsuite/gcc.c-torture/compile/mipscop-2.c | 1 + gcc/testsuite/gcc.c-torture/compile/mipscop-3.c | 1 + gcc/testsuite/gcc.c-torture/compile/mipscop-4.c | 1 + 4 files changed, 4 insertions(+) diff --git a/gcc/testsuite/gcc.c-torture/compile/mipscop-1.c b/gcc/testsuite/gcc.c-torture/compile/mipscop-1.c index 8a40ba1c6b7..2ba0ee79b8b 100644 --- a/gcc/testsuite/gcc.c-torture/compile/mipscop-1.c +++ b/gcc/testsuite/gcc.c-torture/compile/mipscop-1.c @@ -1,5 +1,6 @@ /* { dg-do compile { target mips*-*-* } } */ +#include register unsigned int cp0count asm ("$c0r1"); int __attribute__ ((nomips16)) diff --git a/gcc/testsuite/gcc.c-torture/compile/mipscop-2.c b/gcc/testsuite/gcc.c-torture/compile/mipscop-2.c index 94df41d65f9..6fffc8ec098 100644 --- a/gcc/testsuite/gcc.c-torture/compile/mipscop-2.c +++ b/gcc/testsuite/gcc.c-torture/compile/mipscop-2.c @@ -1,5 +1,6 @@ /* { dg-do compile { target mips*-*-* } } */ +#include register unsigned int c3r1 asm ("$c3r1"); extern unsigned int b, c; diff --git a/gcc/testsuite/gcc.c-torture/compile/mipscop-3.c b/gcc/testsuite/gcc.c-torture/compile/mipscop-3.c index cb4bd4d3efb..03e30117bc1 100644 --- a/gcc/testsuite/gcc.c-torture/compile/mipscop-3.c +++ b/gcc/testsuite/gcc.c-torture/compile/mipscop-3.c @@ -1,5 +1,6 @@ /* { dg-do compile { target mips*-*-* } } */ +#include register unsigned int c3r1 asm ("$c3r1"), c3r2 asm ("$c3r2"); extern unsigned int b, c; diff --git a/gcc/testsuite/gcc.c-torture/compile/mipscop-4.c b/gcc/testsuite/gcc.c-torture/compile/mipscop-4.c index 263fc5cacc1..7e000c1c68a 100644 --- a/gcc/testsuite/gcc.c-torture/compile/mipscop-4.c +++ b/gcc/testsuite/gcc.c-torture/compile/mipscop-4.c @@ -1,5 +1,6 @@ /* { dg-do compile { target mips*-*-* } } */ +#include register unsigned long c3r1 asm ("$c3r1"), c3r2 asm ("$c3r2"); extern unsigned long b, c; -- 2.39.2