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

--- Comment #25 from Terry Guo <xuepeng.guo at intel dot com> ---
Debugged the ICE further and found that below line in function
ix86_get_drap_rtx is causing ICE:

12050         insn = emit_insn_before (seq, NEXT_INSN (entry_of_function ()));

It is called when generating call to __asan_stack_free_5 via
emit_library_call_value_1. The entry_of_function() is returned something
invalid.

Reply via email to