From: ESCHN705 AT RZ DOT Braunschweig DOT PTB DOT DBP DOT de Date: 9 Dec 92 6:55 To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: on -O and -O2 again RFC-822-HEADERS: X400-Trace: DE*DBP*PTB; arrival Wed, 9 Dec 92 07:55:03 +0100 action Relayed ================== /*I sent this file some hours ago and I'm afraid it vanished somewhere, so...*/ /* Excuse me, please. I'm still in trouble with 1.08. */ /* There was indeed a gross mistake (thanks for hints), but... */ /* When compiled with */ /* gcc -Wall -O2 test.c -lm */ /* the following still fails, giving an exception 14. */ /* */ /* Can you help me once more ? */ /* */ /* test.c: */ /*-----------------------------------------------------------------------*/ #include #define maxdim 23 typedef double matrix[2*maxdim+1][2*maxdim+1]; void main (argc,argv) int argc; char **argv; { matrix morg; int lact, lm, ln; for (lact=0; lact <= maxdim; ++lact) { printf("lact=%5d ",lact); fflush(stdout); for (lm=0; lm <= 2*lact; ++lm) for (ln=0; ln <= 2*lact; ++ln) morg[lm][ln] = 1.0; } } /*-----------------------------------------------------------------------*/