Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!brl-adm!brl-smoke!smoke!XBR2D995%DDATHD21.BITNET@WISCVM.WISC.EDU From: XBR2D995%DDATHD21.BITNET@WISCVM.WISC.EDU Newsgroups: net.sources Subject: Problem with MANX/Aztec C (3.20a 26-Feb-86) and arrays on Message-ID: <1087@brl-smoke.ARPA> Date: Wed, 21-May-86 09:11:54 EDT Article-I.D.: brl-smok.1087 Posted: Wed May 21 09:11:54 1986 Date-Received: Sun, 25-May-86 11:54:56 EDT Sender: news@brl-smoke.ARPA Lines: 84 Hello, we have a serious problem with Aztec-C 3.20a and float arrays. The program at the end of my message compiles an links correctly, but gives a guru meditation (00000003.000097B0) wenn started. The program is compiled and linked with the following command: CC T3 LN T3.O -lm -lc The same program gives an assembler error when compiled with CC T3 +l We think the problem is related to the expression: z[k][m] = z[k][m] - z[k][i] * z[i][k] in the program. Reducing the "complexity" of the statement resolves both problems. Any people from Manx listening? Anybody got the same problem? Regards Martin My address: Martin Knoblauch Technische Hochschule Darmstadt Dept. for Physical Chemistry (PC 1) Petersenstrasse 20 D-6100 Darmstadt (West Germany) BITNET: ----------------------------T3.C------------------------------------- #include #include #undef NULL #include main() #define BOR 5 { int i,k,m; float a1,a2,a3; static float z[BOR][BOR]; printf(" programmstart now\n"); for(i=0;i