This is the mail archive of the gcc-bugs@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]

[Bug c++/23545] wrong arguments are given to a funtion


------- 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


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