Is this a gcc bug?

dewar@gnat.com dewar@gnat.com
Thu Jan 11 05:49:00 GMT 2001


  I would expect the result to be "0, 5, 7, 22".

That's the only strange thing here, you have no right to expect this. You
are assuming left to right semantics, but there is no such requirement in
C. 


More information about the Gcc mailing list