delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/05/13/04:57:59

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E2BAD3896C29
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=towo.net
Authentication-Results: sourceware.org; spf=none smtp.mailfrom=towo AT towo DOT net
Subject: Re: [ANNOUNCEMENT] Test: {mingw64-{i686,x86_64}-,}gcc-11.1.0-0.1
To: cygwin AT cygwin DOT com
References: <announce DOT 871raewgfm DOT fsf AT Rainer DOT invalid>
<f3f9f296-cde2-1549-e7e9-38c1c855d5df AT towo DOT net>
<87mtszzsvd DOT fsf AT Rainer DOT invalid>
From: Thomas Wolff <towo AT towo DOT net>
Message-ID: <29a53ee2-cac3-6815-792d-36f96be47bd1@towo.net>
Date: Thu, 13 May 2021 10:57:50 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.10.1
MIME-Version: 1.0
In-Reply-To: <87mtszzsvd.fsf@Rainer.invalid>
X-Provags-ID: V03:K1:6Cy8Z0TcLxw2JOHrA5L1XTKXb/2dbw9ora0h5Kz1O4cHVhMycVK
05Qw3my6bARrQDlZkRuqfJBaliSpjbpT0Qxn6pi/ACvRKD+xDsWK05Bq180ku9w/VDjAUOY
qsT3hyQv2whPtAJfTKvZacoe5+fUdZwnryXsZt/XwLz+yAKC4OQFaTI5AHAcuu7DXROSgZu
zthsMLcbjvrlv7tbBD2MQ==
X-UI-Out-Filterresults: notjunk:1;V03:K0:APBsiawKBIQ=:jjon8agokOMtm5FjBb2USP
BaWSFt0QpIojYiVZO/IbVgcepdOEf/rB9qTUFwuMmMxtUpOTAHxyD9f1zq+AaqGrxjyS/TIo0
FQLEhYESo9aaW4T+FzZvPqI4qmrz7X4BGU3/7gy833D82aww7SnDFcZQSzrMSZMMtntJqX2KG
7aGasfK5M6ITlSWX/hUr9BwUbldxP7LY/r3C05j9KLNukavrDx0BYdlFj1mJ9LkdAxcOMueci
TsL5L8G60U152SAwEV6xqT6v1x9gLrMpt5h/Nu2BqafzZABkW/tHBTC9LLIEh2O+XB42rpHtU
hD+tf5VejdnBRfxg2e7LOJq0kNUCH4+xGqKr7E9bWvE+i6YKosCT4Yi48mTRQq3/qg1WqtUKw
VHwDttBDQF+3tySG4pOVMJIN26A2xl7N4vW8z+vl11mKwFnmbQEkXT/fpeaocXaRVM6+0fg+T
aPdH2IGrdaqdOhfAHfLRao2i8HZo/HVJ0it9NWHBAtV+cCFS6LpKnFy+eSiUJhn7/vCBg/VDK
oBv3xr1KoO+x5p6sKE0a+o=
X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
KAM_LAZY_DOMAIN_SECURITY, KAM_NUMSUBJECT, NICE_REPLY_A, RCVD_IN_DNSWL_NONE,
RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE,
TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

Am 12.05.2021 um 20:53 schrieb Achim Gratz:
> Thomas Wolff writes:
>> Am 10.05.2021 um 21:13 schrieb Achim Gratz:
>>> The native and mingw-w64 cross compilers have been updated for both
>>> architectures to the latest upstream release version:
>>>
>>>    gcc-11.1.0-0.1
>> Are there any known problems with gcc 11? My program crashes if
>> compiled with gcc -O2; gcc -O1 works, gcc 10 also works.
> None that I'd know of, especially given that very vague symptoms.  While
> I guess it's possible that there's a bug in the optimizer, I'd first
> attempt to rule out undefined behaviour in the program being compiled.
The crash vanishes after removing a few lines from a conditional (if 
block) where the condition is false.
This smells like wrong calculation of a relative jump (Intel "short 
jump") by the optimizer.

>
>
> Regards,
> Achim.


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019