https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120165
--- Comment #8 from Michael Karcher <[email protected]> --- Created attachment 64875 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=64875&action=edit Minimal test case Attached an example that causes a runtime crash (due to the bad store overwriting something vital) if compiled with "-O2", but works if compiled with "-O2 -no-omit-frame-pointer". It does not crash with -O0 -omit-frame-pointer, becasue the example depends on certain spilling decision which vary with optimization level.
