[Bug tree-optimization/92860] [8/9/10/11 regression] Global flags affected by -O settings are clobbered by optimize attribute

dcb314 at hotmail dot com gcc-bugzilla@gcc.gnu.org
Wed Jun 24 09:27:47 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92860

--- Comment #31 from David Binderman <dcb314 at hotmail dot com> ---
(In reply to Martin Liška 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 
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.


More information about the Gcc-bugs mailing list