[Bug c/26923] byte swap incorrect

2006-03-29 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-03-29 19:26 --- *** This bug has been marked as a duplicate of 11751 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c/26923] byte swap incorrect

2006-03-29 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2006-03-29 18:51 --- It's not a gcc bug. The code relies on the results of intermediate subexpressions. According to Stroustrup, The C++ Programming Language, section 6.2.2, "The order of evaluation of subexpressions within an expression is unde