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

--- Comment #11 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> I see.  Do you prefer a langhook solution that would "fix" this only
> for C/C++ and LTO then?

That sounds like the best approach to me, but I'm no expert here.

> OK, I see.  VRP still expects it to exist though (just not for
> pointer types).  Anyhow, I'm probably leaning towards looking at
> TYPE_SIZE.  Hopefully "incomplete" enums do not exist ;)

Yes, sorry, we do call set_min_and_max_values_for_integral_type to set the
bounds on them so you're probably running into the dreaded circularity.

Reply via email to