rare bug
Jeff Greif
jmg@trivida.com
Sun Oct 31 23:03:00 GMT 1999
Maybe I can help the maintainers for once, instead of submitting new bug
reports. The code below contains an infinite loop filling an array
(test in 'for' is typo'ed), so certainly will get runtime errors.
Jeff
Subject: rare bug
Date: Mon, 18 Oct 1999 09:43:24 +0900
From: Tommy Faasen <tommy@roboken.esys.tsukuba.ac.jp>
To: gcc-bugs@gcc.gnu.org
Hi i was compiling the other day with no problems at all on
any machine
until i tried it on my Laptop 486 sx /33. It compiles ok but
when i try
to run it it will gave a page fault.. unable to page virtual
adress .
I tracked it down to this routine
double output[100];
foo()
{
int i;
for(i=0;0<100;i++)
{
output[i]=sin(i);
}
}
More information about the Gcc-bugs
mailing list