[Bug inline-asm/93981] No EH information generated for asm statements
jwjagersma at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sun Mar 1 15:41:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93981
jwjagersma at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #47936|0 |1
is obsolete| |
--- Comment #6 from jwjagersma at gmail dot com ---
Created attachment 47941
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47941&action=edit
patch v2
Small change; only call make_eh_edges for asm statements if the asm
could throw (is volatile).
This does not solve the ICE however, which is caused by a throwing
statement that appears before the end of a basic block. It seems that,
at some point, extra statements are added after the asm in a bb? But I
can't find where that happens.
More information about the Gcc-bugs
mailing list