Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gfortran.dg / g77 / 970816-3.f
blob690438646214ccac557ebaf5f9915e49fe77c08d
1 c { dg-do run }
2 * Date: Wed, 13 Aug 1997 15:34:23 +0200 (METDST)
3 * From: Claus Denk <denk@cica.es>
4 * To: g77-alpha@gnu.ai.mit.edu
5 * Subject: 970811 report - segfault bug on alpha still there
6 *[...]
7 * Now, the bug that I reported some weeks ago is still there, I'll post
8 * the test program again:
10 PROGRAM TEST
11 C a bug in g77-0.5.21 - alpha. Works with NSTART=0 and segfaults with
12 C NSTART=1 on the second write.
13 PARAMETER (NSTART=1,NADD=NSTART+1)
14 REAL AB(NSTART:NSTART)
15 AB(NSTART)=1.0
16 I=1
17 J=2
18 IND=I-J+NADD
19 write(*,*) AB(IND)
20 write(*,*) AB(I-J+NADD)
21 END