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: GCC optimizes integer overflow: bug or feature?


Vincent Lefevre <vincent+gcc@vinc17.org> writes:

[...]

| Shouldn't GCC provide an extension to obtain the maximum and minimum
| values of integer types?

GCC already does.  I suspect you meant a _generic_ way a la numeric_limits?
That is doable.

-- Gaby


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