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: [RFC] Get rid of awkward semantics for subtypes


Robert Dewar wrote:

> The compiler
> should not assume validity unless it can prove that the value is
> actually in the declared range in my opinion.

  We could add a "-fstrict-validity=" by analogy to "-fstrict-alias=".  Ada
and C would want to have different default settings I imagine.

    cheers,
      DaveK



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