From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by sourceware.org (Postfix) with ESMTPS id 7A1F2385802A for ; Sun, 20 Jun 2021 10:33:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7A1F2385802A Received: by mail-wr1-x42f.google.com with SMTP id r9so16097059wrz.10 for ; Sun, 20 Jun 2021 03:33:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=3a1mQb+bFhCmK8OtcXVWjAdKqZ0qniPu9Q0lIEMZb4k=; b=D2lerSGOqw2R9LIfxHv/Kv5nD7pAIpbnf0vShn3bYVCB443X69xyYKFwXqbaR4/vuc ll9JbUkzWJoUroaWvV7+B3s87vJU6wWOWZkIyV4AfaYSlocRAlMpVOkwdm5qGk/5H9zz u+de1DYCa4IUgfX3WNU1ql7ZE5ittHeSCSLiA32qYpTSpfIT3fYkhYCZ3ycBqg7SHv5b XmAWZBf9kw+XbbIIwNImrGYhI0nGDiEAuAL2u0l4ZRsR5rNdAemFycoQ68aqAXMhr22h xSi/XJFw7qU5dz4oQlDaGLiBqgmtB8yYc9ItNqTZ7JAd71E6KPEntyI+mImX4EGDYhdV GGLA== X-Gm-Message-State: AOAM532N8EMogss2tTI/3LVQ+sCqhhGKE7WTedCQbhnrOn3zc/PWctJh CgNB8Dc98m6DlEOEvu/uSXIbQaYxF4I= X-Google-Smtp-Source: ABdhPJxUOaQnyLUdyXF3E5c6PXMN2IuzneBhMpeCGXhOqwFaTNJ4Oom76+g9MVlobi5rOVFS6HLTGQ== X-Received: by 2002:a5d:56c4:: with SMTP id m4mr21989048wrw.92.1624185228781; Sun, 20 Jun 2021 03:33:48 -0700 (PDT) Received: from ?IPv6:2001:8a0:7d79:6000:2a38:802a:eea6:b3da? ([2001:8a0:7d79:6000:2a38:802a:eea6:b3da]) by smtp.googlemail.com with ESMTPSA id 62sm14856464wrm.1.2021.06.20.03.33.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 20 Jun 2021 03:33:48 -0700 (PDT) Subject: Re: Build failure due to format-truncation To: Martin Sebor , gcc@gcc.gnu.org References: <487076c8-4863-55c6-35c3-a95c2567a7eb@gmail.com> <77560d1e-1505-1c84-9aaf-2bfbb4f2031f@gmail.com> <312406de-e000-24cd-2b18-7123bfa02f7e@gmail.com> <06e6287d-0c19-0514-e57f-c7985a88668e@gmail.com> <80563905-5fd5-cf19-fa92-6b87d56088ba@gmail.com> <883b5029-2e98-a839-8cfa-7b15274f6b4a@gmail.com> From: =?UTF-8?Q?Jos=c3=a9_Rui_Faustino_de_Sousa?= Message-ID: <2b8f30f9-54b2-5532-e1c0-479f221994ea@gmail.com> Date: Sun, 20 Jun 2021 10:33:47 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 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.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jun 2021 10:33:51 -0000 On 18/06/21 00:05, Martin Sebor wrote: > Right, with -O0 we understand why it happens. > I think I have found a minimal way to reproduce the build failure: make BOOT_CFLAGS="-O0" bootstrap No environment variables set. Setting CFLAGS, CXXFLAGS or both does not seem to have any effect. Additionally at -O1 I found: ../../gcc-xtra/gcc/gimplify.c: In function ‘gimplify_status gimplify_omp_loop(tree_node**, gimple**)’: ../../gcc-xtra/gcc/gimplify.c:12975:17: error: ‘last’ may be used uninitialized in this function [-Werror=maybe-uninitialized] 12975 | if (pass != last) | ^~ cc1plus: all warnings being treated as errors And finally at -O2 there were no problems. It would have been interesting to try other options, but the build takes an enormous amount of time... Thank you very much. Best regards, José Rui