Loop Compile Internal Error

Voropaev S.G. (voropaev@inp.nsk.su)
Thu, 10 Jul 1997 12:29:30 +0700


Dear ROOT people,
I have written the following code in file bad1.cpp:
---------------------------------------------------------
void bad1()
{
int nlines = 0;
int err_lines = 0;
float est = 0.5;
while (nlines < 20)
{
printf(" %f\n", est);
if( est > -0.99)
{
nlines++;
}
else
{
err_lines++;
}
}
}
------------------------------------------------------------------------

after start macro:
root [0] .x bad1.cpp
I have this output:
0.500000
0.500000
Loop Compile Internal Error: Illegal instruction 65535
FILE:d:\users\voropaev\CERN_ROOT\bad1.cpp LINE:6

If I run with lower optimization ( .O1), all work well.

I use ROOT Ver. 1.01/06 on Windows NT 4.0

It is bag?

Voropaev S.G.