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: Miscompilation of remainder expressions


Andrew Haley <aph@redhat.com> writes:

| Paolo Carlini writes:
|  > Andrew Haley wrote:
|  > 
|  > > > Ok, I believe you. However, isn't true that, in general, because the 
|  > > > sign of the result is implementation defined,
|  > >
|  > >The sign of the result of % is no longer (since C99) implementation-
|  > >defined.
|  > >  
|  > >
|  > I see. However, by default, I'm always talking about C++03...
| 
| I just had a look at that, and it seems that they haven't yet adopted
| the tightening-up of the langauge used by C.

I just brought the issue on the C+ core reflector.

-- Gaby


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