From patchwork Thu Nov 16 14:06:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 165831 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b909:0:b0:403:3b70:6f57 with SMTP id t9csp3232680vqg; Thu, 16 Nov 2023 06:06:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IGq4c/YOP1xTV+hdy192xATQuY6dfMMwZThVBsR19Ls0jP1T3R/GYlmP+fbqd/f6eVDLRQ9 X-Received: by 2002:ac8:5c83:0:b0:413:3384:d43f with SMTP id r3-20020ac85c83000000b004133384d43fmr8762015qta.11.1700143612847; Thu, 16 Nov 2023 06:06:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1700143612; cv=pass; d=google.com; s=arc-20160816; b=Ef5nQ3mM45vYRrIHkjj+aF2CB2sxdEwpl1nRdDu4nB0sKqfRphxP6dbV14ojM989Jz lxdz8G8pnNiHjHP68b36N6TjRjh5KgehMqb4Yp5yCYi9SrgbSFya3w0fk4CEWERnzJcW EyD8AATseBnBltmy4ABPFNJxJQy04rxXRMz5f6imh8FZBYlziKGf42M+Jk9ewacf7XRK mek3BIuP4EMUkqPETMGr0sgPNox5qZ/yBQ04I70OXnu8FKBnllN4ZiIi3owAPV37h8CR nntpPL1MfuTC3CbOjlBGQU1v6MjOEx7OCydai4fmhdF4cf1xbpgIJwxSFHtB0O1HZqj/ vkkw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version:user-agent :message-id:date:subject:to:from:dkim-signature:arc-filter :dmarc-filter:delivered-to; bh=R2GAdD+PVNpXu9MLeg/rR+T/BbystaJfCjwtw4e2bic=; fh=hPrbWPhweUx4V0GV9uXJqbyAzg2ABmTz7kczrAQqMmM=; b=TQ7vxBUO4RdwMmoSOhYsFMUNixFEoUG2FAfZuMBrinkUs1yziXE4N5CGM6Y5Es1YcR 0MgWDGrlNtwbdFRym7r5fSnm8OOkbZyR7Rnnd1uM7Nfgz9Lov+/+A7fcBagosJSvHu6M 1oJRGn9KFq7Zop647dN1vCjXEvtpmf60AkiCGeW5/oJHpNv0m/1W+02W1N3jXUk8YQfn LVrqATYpX1l7fulfJzVdZiSOZ2IdCL+jy/21lwPCSBw+hK2/EVcjQ+EIGLQcRqW5B3Ar ZjroqP/eek6MNu7oRLxNvE7mGBSqRJ5Dl3T8Nu4+yWgJN1QBWJli/PvozLdGrEg4uHUu 5FUg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="f6uf/BtK"; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id h13-20020ac85e0d000000b0041794267417si11158622qtx.553.2023.11.16.06.06.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 06:06:52 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="f6uf/BtK"; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id BE840385C6F0 for ; Thu, 16 Nov 2023 14:06:35 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id C42543858D37 for ; Thu, 16 Nov 2023 14:06:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C42543858D37 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C42543858D37 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700143572; cv=none; b=QVcdpFGreDM73wbJQ4vv6qlD26UcdTSz0BNq6sG70+iAoh+SetAEpoYalLs2NtYL86wWzAR+CLaLRKMfiOy84lDdXwyIDpOB3ItyJOXlcwtt9oBnS4jCWRnE8WmZ9hMDK10jVAo+AsD+5gKeigdqZmqgK4k4SCp4hFul297R04I= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700143572; c=relaxed/simple; bh=Oh6KhQndBCqt9EEIL/Bi6uwHj+ELEbrJH6QI+vAS/nw=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=HqW2esWwa02k88RzSR9ZDweotpmgFyDCXIAmhsHNGjRMXfb+Jc0qDk0GPINZ+m3Nl4pqrC1+5H1DZEh1dE/8DaaSWTjFz0qREg1y24MUf4zc2z53TSgvdQp+KRB6XCxaUHiHCEI3+w1VyssjcbZRSRNCuyyKuJ9uPLDHXXjtTlg= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1700143571; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=R2GAdD+PVNpXu9MLeg/rR+T/BbystaJfCjwtw4e2bic=; b=f6uf/BtKHsrUt0OwDg00pUQK2hQM//CyNCJKlBW2brkv5jhWy3U04jNOFdgUkFMo2Ewpy6 l6KOvKE/A/DdXGfR/R4a1RLVDN1yrRwCyBo/7/srmub/I/dha/WSUDgopIn5Pty/RH+sEZ GZkUmEt/mXj/toK/LxRAYW4BxC5QKuQ= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-197-luZKcJigNMG62vfpvq1UIQ-1; Thu, 16 Nov 2023 09:06:07 -0500 X-MC-Unique: luZKcJigNMG62vfpvq1UIQ-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 88F952825E98 for ; Thu, 16 Nov 2023 14:06:07 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.2.16.3]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EA92B492BFD for ; Thu, 16 Nov 2023 14:06:06 +0000 (UTC) From: Florian Weimer To: gcc-patches@gcc.gnu.org Subject: [PATCH COMMITTED] gcc.c-torture/execute/931004-13.c: Fix declaration of main Date: Thu, 16 Nov 2023 15:06:05 +0100 Message-ID: <87v8a1rdwy.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-10.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, 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 X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782729788821293417 X-GMAIL-MSGID: 1782729788821293417 gcc/testsuite/ * gcc.c-torture/execute/931004-13.c (main): Fix mistakenly swapped int/void types. --- gcc/testsuite/gcc.c-torture/execute/931004-13.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) base-commit: 5f1105612b592650566a54846dd5f9ccdfed01a9 diff --git a/gcc/testsuite/gcc.c-torture/execute/931004-13.c b/gcc/testsuite/gcc.c-torture/execute/931004-13.c index 8b79679087c..e8c0c81076c 100644 --- a/gcc/testsuite/gcc.c-torture/execute/931004-13.c +++ b/gcc/testsuite/gcc.c-torture/execute/931004-13.c @@ -43,8 +43,8 @@ f (int n, struct tiny x, struct tiny y, struct tiny z, long l) abort (); } -void -main (int) +int +main (void) { struct tiny x[3]; x[0].c = 10;