------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-24 11:54 ------- GenCP (dimRand(xDim), dimRand(yDim), dimRand(zDim));
The order of which dimRand is called first, second, and last is undefined as defined by the C++ standard. GCC just happens to be calling the functions in a different order than you were expecting them to be called. This is not a bug. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23545