From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DB2073853541; Tue, 14 Jun 2022 15:36:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DB2073853541 From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/105950] > O2 optimization causes runtime (SIGILL) during main initialization Date: Tue, 14 Jun 2022 15:36:22 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 9.4.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jun 2022 15:36:23 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D105950 --- Comment #25 from Jonathan Wakely --- (In reply to John Kanapes from comment #22) > It took you 4 posts to explain me what to do. > It took me 4 posts to understand what you were talking about. > You should explain better. You should read better. Comment 3 is perfectly clear. "For UBSan, you can't just compile with -fsanitize=3Dundefined, you need to= link with that flag as well." (In reply to John Kanapes from comment #23) > What do you do with the sources after the ticket? They will stay attached here. If you don't want them to be public, you need= to reduce it to something smaller that still shows the bug (which you've said = you can't) or put them somewhere online and persuade somebody here to download = them and try to reproduce and reduce it for you.=