[Bug rtl-optimization/101736] Option -fno-reorder-functions breaks exceptions

2021-08-02 Thread rsundahl at icloud dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101736 --- Comment #5 from Roy Sundahl --- (In reply to Andrew Pinski from comment #3) > A workaround is to do -fno-reorder-blocks-and-partition if you do > -fno-reorder-function That worked! Many thanks Andrew for vetting this bug so quickly and

[Bug c++/101736] Option -fno-reorder-functions breaks exceptions in gcc 8.2.1

2021-08-02 Thread rsundahl at icloud dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101736 --- Comment #1 from Roy Sundahl --- Created attachment 51246 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51246=edit This is the preprocessed file (.ii)

[Bug c++/101736] New: Option -fno-reorder-functions breaks exceptions in gcc 8.2.1

2021-08-02 Thread rsundahl at icloud dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101736 Bug ID: 101736 Summary: Option -fno-reorder-functions breaks exceptions in gcc 8.2.1 Product: gcc Version: 8.4.1 Status: UNCONFIRMED Severity: normal