https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92644
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2019-11-24
CC| |jakub at gcc dot gnu.org
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
Target Milestone|--- |9.3
Ever confirmed|0 |1
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r265909.
NULLPTR_TYPE only allows value 0, so doing
rhs = wide_int_to_tree (TREE_TYPE (rhs),
wi::min_value (TREE_TYPE (rhs)) + 1);
for it ICEs.
I'd say we should guard that only for INTEGRAL_TYPE_P types and perhaps
pointer/reference types too, though transformation of == NULL to < (void *) 1
looks really weird.