[Bug c++/26820] g++ compiler: incorrect handling of reference parameters

2006-03-22 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-03-23 06:30 --- This is not a bug, you are misunderstanding what order stuff gets evaluated in the following expression: cout << f(x, y, z) << " " << x << y << z << endl; The C++ standard leaves the order of evaluating of f(x,y,z)

[Bug c++/26820] g++ compiler: incorrect handling of reference parameters

2006-03-22 Thread ramiller at mines dot edu
--- Comment #1 from ramiller at mines dot edu 2006-03-23 06:29 --- Created an attachment (id=11102) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11102&action=view) Source code from which compiler bug was determined I figured out how to attach the source code... -- http://gcc