------- Additional Comments From laurent at guerby dot net  2005-08-22 20:01 
-------
With 4.1.0 20050822 (experimental) on x86-linux, I get as output
27 times "average: 10.00" followed by three times "average:error here!"
which seems the correct behaviour since you do for the three last iterations:

Avg := Sum / Data'Length;

with Data'Length = Index = 0

So you get a division by zero exception.

Is the mingw behaviour different, or am I missing something obvious in your 
code?

Laurent

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23514

Reply via email to