From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1D1A639874D1; Wed, 24 Jun 2020 09:27:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1D1A639874D1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1592990868; bh=NDkaJCVy49q2lexObtca0O/DyuTN9Hb3qI0BHmdveJU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ZO8oi+MuH3xy+4stejrUAB5DLhQi8hyOfq9j+W+DMzy7v9ic8t8DE4LSXFdm8n6ZW mAtUnTwM1ogu3JlzgCxLEZ4VuSbCzAVvKcNszGO60IcwG9w5evPr8Vd5UNkB6pwjx4 6xo0SIHNsC5qUeqiXuEee75FjcfUrU7wpKqiBtbE= From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/92860] [8/9/10/11 regression] Global flags affected by -O settings are clobbered by optimize attribute Date: Wed, 24 Jun 2020 09:27:47 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: deferred X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.2 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: Wed, 24 Jun 2020 09:27:48 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92860 --- Comment #31 from David Binderman --- (In reply to Martin Li=C5=A1ka from comment #30) > What's the project where you see the issue? Chatterino2, in fedora rawhide. Be warned, you will need my environment for gcc to see the problem. More thought suggests that in a usual crash, I get a preprocessed file, because I have -freport-bug switched on. In this case, source code file gcc/options-save.c explicitly calls routine internal_error, which doesn't produce a=20 preprocessed file and so I cannot make progress. I am busy with other stuff right now, but by the weekend, I should be able to enhance routine internal_error to produce a preprocessed source code file and so we can make progress.=