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

--- Comment #23 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Martin Jambor from comment #22)
> (In reply to Jan Hubicka from comment #21)
> > This is expanded thunk produce dby cgraph_node::expand_thunk
> > Did not look into the testcase if it should be there or not.
> > 
> 
> Indeed.  expand_thunk creates this when
> targetm.asm_out.can_output_mi_thunk returns false.  Therefore a change
> in the back-end can cause this difference.  The back-end changes might
> be OK, we have had a bug like this in IPA before.
> 
> Do I understand correctly that this bug is an ICE with checking

ICE only with x86_64-apple-darwin cross compiler.

> compiler and miscompilation with release-checking one?

Miscompile on both x86_64-apple-darwin and Linux.

Reply via email to