This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR 23046. Folding predicates involving TYPE_MAX_VALUE/TYPE_MIN_VALUE(Ada RFC)


Richard Kenner wrote:
    > compiler (specifically VRP) is *correct* in deducing that the values are
    > in the valid range of the type *except* for 'Valid and range checks.

You meant "for 'Valid range checks" right? (no "and").

I meant "and". Range checks are essentially 'Valid.

no, range checks are quite different from validity checks. range checks can assume data is valid, validity checks can not make thisd assumption.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]