This is the mail archive of the gcc-patches@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: [PATCH] Document arithmetic overflow semantics


kenner@vlsi1.ultra.nyu.edu (Richard Kenner) writes:

> behavior.    I have three major problems with it:
>
> (1) It removes the potential of optimizations that assume such overflow cannot
>     occur in languages where it is undefined (C, C++, and Ada).

The last time I asked, I was told that GCC already does not check in
some cases if arithmetic overflow can occur and still performs some
optimizations which assume that no overflow occurs.


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