[Bug c++/98330] [11 Regression] ICE in compute_parm_map, at ipa-modref.c:2900 since r9-2640-g3d78e00879b42574

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 19 13:28:53 GMT 2021


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|ice-on-invalid-code         |ice-on-valid-code

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Valid C testcase that crashes the same way:

float f (__typeof (__builtin_pow) fn, float x)
{
  return fn (x, 2);
}

gimple_call_fnspec doesn't return anything for an indirect call to a
const function (where gimple_call_flags would say ECF_CONST).


More information about the Gcc-bugs mailing list