there is a memory access check rui error in std::basic_ostream
hi,all
I use sunstudio 11 under Solaris 10 update 1.
The ouput of CC -V is :
CC: Sun C++ 5.8 Patch 121017-02 2006/04/19
My cpp file(try.cpp) is as following:
[code]
#include <iostream>
int
main(int argc,char *argv[] )
{
std::cout<< 5;
return 0;
}
[/code]
My compiling command line is as following :
CC -g try.cpp
I had turn on access check.
When i debugged a.out, I got the following error:
Access checking started for program /home/l12751/a.out
_ _
Read from uninitialized (rui):
Attempting to read 3 bytes at address 0xffbfef05
which is 3205 bytes above the current stack pointer
Location of error: (unknown OF), line 0, std::basic_ostream<char,std::char_traits><char> >::operator<<()
Is this a sunstudio 11 CC 5.8 bug or anything i did wrong?
How can i do access check for this program? or i can safely ignore the error?
thanks in advance.

