I'll work a minimal program and on whether the irrelevant() call -must-
be at the following specific line and only at the following specific
line, but I did isolate it a little further:
static void irrelevant(void)
{
static volatile int x;
x++;
}
static double AddWithError(double& err, double a, double b)
{
double sum = a+b;
err = b-(sum-a);
irrelevant(); // <--- enough of a fix.
return sum;
}
gcc version 2.95.2
And, before you ask me to try gcc 3.0.x, yes; I could boot-strap a later
compiler. I'm using ihost.com servers.com.
Compiler Options: gcc -O -g
Stephen Dennis