From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by sourceware.org (Postfix) with ESMTPS id C010F3858421 for ; Tue, 20 Dec 2022 23:32:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C010F3858421 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pj1-x1029.google.com with SMTP id hd14-20020a17090b458e00b0021909875bccso2116509pjb.1 for ; Tue, 20 Dec 2022 15:32:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=NKLACsLUtRnL0MVXK7evITXgVfEfUWuIrVJaRnTTk/w=; b=hxc/USA/BHyDiRm2wkZKzkLni/N/8t7HoxszvhmRvFC5jyN37boV6pu2rPiljnlMFf 0OlfA7qD/HOrBAg5lOmzd2k4utHuweNfYl8J+htvdOcH+xMrHMR5wL0AKAWlLhZUhRCo UhPE5Q/PYqdEE2cZ8byxiBA3zEg3buMnB/BTryhFIJdf7ZxxDwA+UUUh14R1NIcGvzF+ qRgl3/O73wOIymlpOHmIdPz+p9BxU8tXwdpLVv2sbAP/UQtv0Bl4Ed8oHNYLg2vuvfhV 2LlXqHnRp9Jw/ZvoasQWAR3IwhGYxJ07HWZcTauZXlgFjz266ldetEJaeWqeAHO91tBI T4Vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=NKLACsLUtRnL0MVXK7evITXgVfEfUWuIrVJaRnTTk/w=; b=mjiybk8QDtdKDzZRK+w4uk1ckvcnwlQVSUpbDQAY/L8PBQk/VZiDBIInIfI/6rxowF T/J9nNE5m73K24X1MAgRdfPJiYUOMZ7qlTG0O4J+4rgpJEOBrMfNb5Ra8u9/ya0S/C3d gd/A+yvpwgSr5LU2p9uOAF1ODbbKPXWfxRWvPKNCG5lTiYyXqQ5SZMfZ9d65g2YjMnAQ Rq0sYSbcVjblqe7dklmPa5PPQqpEKQ/NAwPv3f7cr/BILHQsPQoN6W7RBT4Am1v86wXh F3dc0Bxr/B+qOlQXKRM470y/TwX8qNOfuoXBMJ7Te5BiQXG9QAQ8mSn/WxJnLgvxA+5S VmsA== X-Gm-Message-State: ANoB5pm4jM2B/k8RbYsvQtVCHDLie9x59lIm9aUB+oPJb0q9GnWOeDja FGcRfNvCVvsUSnd+BYG2DT4= X-Google-Smtp-Source: AA0mqf4TduJwiUrXRsWNWc/BLvETsd8UeDSXJz6qsnee/bFANDHixVPt2K07QQ4vDIvieaVU6vUk7A== X-Received: by 2002:a17:90a:ca93:b0:219:6b1a:bb76 with SMTP id y19-20020a17090aca9300b002196b1abb76mr49922799pjt.45.1671579131512; Tue, 20 Dec 2022 15:32:11 -0800 (PST) Received: from ?IPV6:2001:f40:91b::951? ([2001:f40:91b::951]) by smtp.gmail.com with ESMTPSA id r34-20020a17090a43a500b00219bf165b5fsm83366pjg.21.2022.12.20.15.32.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 20 Dec 2022 15:32:10 -0800 (PST) Message-ID: Date: Tue, 20 Dec 2022 23:32:15 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: testsuite: Fix pr55569.c excess errors Content-Language: en-US To: Andrew Pinski Cc: Gcc Patch List References: From: Jonathan Yong <10walls@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3032.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP 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: On 12/20/22 16:55, Andrew Pinski wrote: > On Tue, Dec 20, 2022 at 1:22 AM Jonathan Yong via Gcc-patches > wrote: >> >> This fixes the following: > > It is not obvious from the email, why this patch is needed but I > figured it was due to LLP64 targets or some other targets where long > is not the same size of the size_t type. > I think this patch is good but I cannot approve it. The commit message > should be improved to make a mention of LLP64 targets and long being a > smaller size than size_t. > > Thanks, > Andrew > You are right that this is for LLP64 win32. I will change the subject to "testsuite: Fix pr55569.c excess errors on LLP64" This fixes the following on LLP64 mingw-w64 target: Excess errors: gcc/testsuite/gcc.c-torture/compile/pr55569.c:13:12: warning: overflow in conversion from 'long long unsigned int' to 'long int' changes value from '4611686018427387903' to '-1' [-Woverflow] gcc/testsuite/gcc.c-torture/compile/pr55569.c:13:34: warning: iteration 2147483647 invokes undefined behavior [-Waggressive-loop-optimizations]