From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9ED393858D28; Thu, 29 Sep 2022 11:09:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9ED393858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664449758; bh=q8LXAzbjWVV7FkOV4UfcTf6pVStuFq2PocykG7e0yrc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Nn38Cwo0vtY0Fduyruwh3Q8kfMbbREdYdJOkNA7L0utSPkYdmAs2f9k0T1uTGhx9C XhejZUYGqsQEyBodlBOb5pURqUWf2eJgDqJbYO+ABoiRXNwIFoToYzSvvIMGxzvz2d N6kOT1Yjn/d10Oxe6KjDvAaSjovRCD//Pkjkngic= From: "kloczko.tomasz at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/107078] LTO is causing that firebird build is core dumping Date: Thu, 29 Sep 2022 11:09:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 12.2.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: kloczko.tomasz at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107078 --- Comment #9 from Tomasz K=C5=82oczko -= -- (In reply to Jakub Jelinek from comment #7) > Then as documented, -fno-lifetime-dse or -flifetime-dse=3D1 can be a temp= orary > workaround, but as has been said, such code is undefined behavior and sho= uld > be fixed in the application. > See > https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-flifetime-= dse I just realised that +year ago working on my packages I've started removing= all hardcodes in source tree warnig and optimisation flags to be able to contro= ll that on rpm build layer and when I've removed in mesa -flifetime-dse=3D1 it started crashing as well.=