https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116057
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |ASSIGNED Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org --- Comment #11 from Richard Biener <rguenth at gcc dot gnu.org> --- I think the bug is in CCPs likely_value, it doesn't see the constant operand in the CTOR but only the undefined one and thus makes it UNDEFINED instead of CONSTNAT.