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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[11 Regression] ICE in      |[9/10/11 Regression] ICE in
                   |compute_parm_map, at        |compute_parm_map, at
                   |ipa-modref.c:2900           |ipa-modref.c:2900 since
                   |                            |r9-2640-g3d78e00879b42574
           Keywords|ice-on-valid-code           |ice-on-invalid-code

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
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 | }
  | ^

Reply via email to