From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.ispras.ru (mail.ispras.ru [83.149.199.84]) by sourceware.org (Postfix) with ESMTPS id 4891438708AB for ; Thu, 14 Jan 2021 15:33:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 4891438708AB Received: from monopod.intra.ispras.ru (unknown [10.10.3.121]) by mail.ispras.ru (Postfix) with ESMTPS id 6EBF340A92A3; Thu, 14 Jan 2021 15:33:02 +0000 (UTC) Date: Thu, 14 Jan 2021 18:33:02 +0300 (MSK) From: Alexander Monakov To: stefan@franke.ms cc: gcc-help@gcc.gnu.org Subject: Re: AW: m68k: Simple loop compiles into boundless recursion with -O2 In-Reply-To: <037901d6ea88$1f7aed50$5e70c7f0$@bebbosoft.de> Message-ID: References: <20210113192015.GT30983@gate.crashing.org> <20210113214605.GU30983@gate.crashing.org> <037901d6ea88$1f7aed50$5e70c7f0$@bebbosoft.de> User-Agent: Alpine 2.20.13 (LNX 116 2015-12-14) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_NUMSUBJECT, SPF_HELO_NONE, SPF_PASS, 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: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jan 2021 15:33:07 -0000 On Thu, 14 Jan 2021, Stefan Franke wrote: > Sorry, but I can't reproduce that 'dropping' of other options. I played > around here: https://franke.ms/cex/z/EnK1GY > Could you please provide a reproduceable example? It is easily reproducible on x86: https://godbolt.org/z/Mx1KMe Kernel people hit this issue recently when attemping to use the attribute: https://lore.kernel.org/lkml/alpine.LSU.2.21.2004151445520.11688@wotan.suse.de/ Alexander