Loop Compile Internal Error

From: Voropaev S.G. (voropaev@inp.nsk.su)
Date: Thu Jul 10 1997 - 07:29:30 MEST


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.



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:20 MET