From patchwork Sun Dec 3 05:41:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Law X-Patchwork-Id: 81228 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 370E7385803A for ; Sun, 3 Dec 2023 05:42:07 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by sourceware.org (Postfix) with ESMTPS id F2AC13858C53 for ; Sun, 3 Dec 2023 05:41:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F2AC13858C53 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org F2AC13858C53 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::62e ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701582113; cv=none; b=czrkq/LcCMSA8XHf+FNE7ntWEmPNmhC1Mz9zqo83LipOLIfMA+UP7wn1WJvrdznZ+CRDDQyUqjmeXnXKQjoTFGuJ0JdIF7iUTu+5P+302UR9V4hzfS112kOLc/rFsKNJEUYuSIGrBfUVytmjI/jbgHzdgKIWhOZ+4cmihLHOPIo= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701582113; c=relaxed/simple; bh=Yt24sv66IAHbxncVDnBA4A63Rch8xLQNvgL0zxCf63I=; h=DKIM-Signature:Message-ID:Date:MIME-Version:To:From:Subject; b=TMao7+nPFIwTOsSSa/zFc+rb1rLwZFwUS5tAUADFcvDRzdopbFaWdTsWLeb90pk7kddpAuZyQygmAA9CvfWewN8GopDJrkLiZTg/ZJwylOwtNedsRwL5jHyJaZ+oK+DW8YBv6ZyopQh+99DaY/dQjZ10VnKEOlOyntgo78yMv3I= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-1d098b87eeeso52875ad.0 for ; Sat, 02 Dec 2023 21:41:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701582110; x=1702186910; darn=gcc.gnu.org; h=subject:from:to:content-language:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=4fgFvhyecOG8eq1+cKDpeiOTOMtKa5CTGsvdmXjwqtE=; b=cUi7bn0fHinQ95o15G5pM0WK92TS5JqBtsltXbLQ7NuvBLfnW85BrAAtBXwU2IqKwh gxwOdZYPkEmaitGRilVzkQpO3gm3dG7v/2PFpvU/sbEUuc8vcJdixoOxI8in5981ewnP RW10uUqyoTgviUntw17MUyzGtTBkV9+VFf+LRQG53slORVtHPMCr6dqgXCP8TMvq3Fwb XoNrZqaQGnNfyeZwlczKo1gN9eGQ2PZn7zhrnxOjShV57AnMI3ikwfH6eZ4FPkq2TUHC U6TOAECLVGxJQjbTMhrLMFsaV+Vt4XFNWHOpk34oKqP/wztQsPUlFu6nwQv9uwXtc1MP H5gQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701582110; x=1702186910; h=subject:from:to:content-language:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4fgFvhyecOG8eq1+cKDpeiOTOMtKa5CTGsvdmXjwqtE=; b=ng08ogKGE45qUbW+mkrt7pFxAVUF6LYL4TnSbU/n4soDivyMgkbGrl79Wj/wmEZ4JD 0uTNlKDXJXhMhtaqCGp18PaPdsPzAa3AcV2FwMh49MTvFbWegb+bR48d7Fhr3ulJJspo 57UyoD5XcobSiKBZUhZeR1/SaloZasXeJwoNkPtii5phMgdQVozKS6Vd3Th/+gLvVGDH dFYZ+3cF3en/IcWPEsFoUlCtrl1osYk5MkA8ulT0q3Lh8w8mJuMdU8hH6F+p62Oxb6FO mJIBYw6WfBWekHQLXo44wjQ6vAfi6xNpXk717n+HHtMVX+p6+J6mMEwBmBj5Lh/40QPA oKjA== X-Gm-Message-State: AOJu0YxJeX7d8ha1PP8anzaTbFqvzn1BTmgjR5GLJ4fMZb+Ed1VTkv01 FXE5X5CAK1SumsgfPmPUideaOcj8tI6RoQ== X-Google-Smtp-Source: AGHT+IEg+dhO9RHvNHntiAtfgLK69Br+Rg4AsYxd63776zhzKfj05oqW1wcF1VE43WCCrnMBT5Havw== X-Received: by 2002:a17:902:8e85:b0:1d0:6ffd:9e1f with SMTP id bg5-20020a1709028e8500b001d06ffd9e1fmr1932584plb.113.1701582109977; Sat, 02 Dec 2023 21:41:49 -0800 (PST) Received: from [172.31.0.109] ([136.36.130.248]) by smtp.gmail.com with ESMTPSA id 12-20020a170902c14c00b001d043588122sm5407152plj.142.2023.12.02.21.41.49 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 02 Dec 2023 21:41:49 -0800 (PST) Message-ID: Date: Sat, 2 Dec 2023 22:41:48 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: "gcc-patches@gcc.gnu.org" From: Jeff Law Subject: [committed] Fix pr65369.c X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, 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 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+patchwork=sourceware.org@gcc.gnu.org There's a caller/callee type mismatch in this test that shows up on targets where ints are something other than 32 bit types. Based on reviewing the original bug report, the fix and the part of the test this fixes, I'm reasonably confident this hasn't compromised the test. Pushed to the trunk. Jeff commit 3da08ffa6df2634092a6292b045568fc326e28e6 Author: Jeff Law Date: Sat Dec 2 22:40:41 2023 -0700 [committed] Fix pr65369.c There's a caller/callee type mismatch in this test that shows up on targets where ints are something other than 32 bit types. Based on reviewing the original bug report, the fix and the part of the test this fixes, I'm reasonably confident this hasn't compromised the test. gcc/testsuite * gcc.c-torture/execute/pr65369.c: Fix type mismatch. diff --git a/gcc/testsuite/gcc.c-torture/execute/pr65369.c b/gcc/testsuite/gcc.c-torture/execute/pr65369.c index 017fe1b01ce..548b48fa43f 100644 --- a/gcc/testsuite/gcc.c-torture/execute/pr65369.c +++ b/gcc/testsuite/gcc.c-torture/execute/pr65369.c @@ -6,7 +6,7 @@ static const char data[] = "123456789012345678901234567890"; __attribute__ ((noinline)) -static void foo (const unsigned int *buf) +static void foo (const uint32_t *buf) { if (__builtin_memcmp (buf, data, 64)) __builtin_abort ();