https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98330
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[9/10/11 Regression] ICE in |[11 Regression] ICE in |compute_parm_map, at |compute_parm_map, at |ipa-modref.c:2900 since |ipa-modref.c:2900 since |r9-2640-g3d78e00879b42574 |r9-2640-g3d78e00879b42574 --- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to Martin Liška from comment #3) > It's an invalid code and I can see it since r9-2640-g3d78e00879b42574: > > pr98330.c: In function ‘float f(float)’: > pr98330.c:3:25: warning: pointer to a function used in arithmetic > [-Wpointer-arith] > 3 | return __builtin_pow[1] (x, 2); > | ^ > during GIMPLE pass: ccp > pr98330.c:4:1: internal compiler error: tree check: expected function_decl, > have mem_ref in fndecl_built_in_p, at tree.h:5851 > 4 | } > | ^ I can't reproduce the CCP ICE on trunk, I guess that was fixed at some point. We just got a new modref case?