Hi All
I have a query regarding __GLOBAL_ prefixed symbols.
while compiling the testcase given below produces
a symbol '_GLOBAL__I_main', which according to the defination of
static global initiallization should be a global symbol. But
gcc makes it a local symbols.
can anyone explain the reason for this behaviour.
i am using gcc 4.0.1.
----------------------------------------- testcase.cc
class tempttt{
int a;
int b;
public:
tempttt()
{ a=10; b=100;}
};
static tempttt t;
int main()
{
return 0;
}
-----------------------------------------
-
Thanks,
Inder