[Bug ipa/103058] [12 Regression] ICE in gimple_call_static_chain_flags, at gimple.c:1669 when building 527.cam4_r

hubicka at kam dot mff.cuni.cz gcc-bugzilla@gcc.gnu.org
Wed Nov 3 14:49:37 GMT 2021


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

--- Comment #1 from hubicka at kam dot mff.cuni.cz ---
> One can see it with -O2 -flto=auto -march=znver2:
> 
> radsw.fppized.f90:39:19: internal compiler error: in
> gimple_call_static_chain_flags, at gimple.c:1669
>    39 | subroutine radcswmx(lchnk   ,ncol    ,                         &
>       |                   ^
> 0x6a0183 gimple_call_static_chain_flags(gcall const*)
>         /home/marxin/Programming/gcc/gcc/gimple.c:1669

Interesting, I added the check to verify that we do not produce
interposable calls to nested functions.  Doing so does not make very
good sense since they do not have stable API, so they can not really be
called cross-module.

What is a motivation to produce them at first place?
Honza


More information about the Gcc-bugs mailing list