hi,
compiling the following code:
int v;
void f3() { while (v); }
void f1() { v = 1; }
void Error();
void f2() {
if (v) {
Error();
f3();
}
}
under C++ 5.8 2005/10/13 with -xO4 or -xO5 on x86 (32-bit, Solaris snv_28) produces the following error:
"test.cpp", [__1cCf26F_v_]:ube: error: SIGNAL: Segmentation Fault
the crash does not occur if the function Error() does not contain the string "Error" in its name (!)