This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] for PRs 27639 and 26719
> For VRP, it would be helpful to have an efficient way of checking whether
> TYPE_MIN_VAL/TYPE_MAX_VAL are [*] non-trivial for a type, i.e. differ from
> what you might expect given TYPE_PRECISION and signedness. Perhaps you can
> suggest one?
It's not hard to compute the "full" values of those as a function of
precision and signedness. So it'd just be a comparison with that value.