https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98220
Bug ID: 98220
Summary: LTO causes floating point exception
Product: gcc
Version: 9.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: wuz73 at hotmail dot com
Target Milestone: ---
Created attachment 49726
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49726&action=edit
test case for LTO crash
In the attached test case, if -flto is turned on then the executable crashes
with floating point exception even though I didn't use any floating point.
Without -flto everything was fine.