https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123913
Boris Staletic <boris.staletic at protonmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |boris.staletic at protonmail
dot c
| |om
--- Comment #2 from Boris Staletic <boris.staletic at protonmail dot com> ---
This happens because of the gcc_assert() in eval_is_function_parameter().
If one reflects on the type of a function, the result should be a range of type
reflections. GCC passes that around as TREE_LIST, with the kind of reflection
still set to REFLECT_PARM.
Later, whatever attempts to call eval_is_function_parameter() will trigger the
assert.