Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gfortran.dg / g77 / 19990525-0.f
blob589fb8ebfd152bc714124fec0f33276bc19bb115
1 c { dg-do compile }
2 * Mailing-List: contact egcs-bugs-help@egcs.cygnus.com; run by ezmlm
3 * Precedence: bulk
4 * Sender: owner-egcs-bugs@egcs.cygnus.com
5 * From: "Bjorn R. Bjornsson" <brb@halo.hi.is>
6 * Subject: g77 char expr. as arg to subroutine bug
7 * To: egcs-bugs@egcs.cygnus.com
8 * Date: Tue, 25 May 1999 14:45:56 +0000 (GMT)
9 * Content-Type: text/plain; charset=US-ASCII
10 * X-UIDL: 06000c94269ed6dfe826493e52a818b9
12 * The following bug is in all snapshots starting
13 * from April 18. I have only tested this on Alpha linux,
14 * and with FFECOM_FASTER_ARRAY_REFS set to 1.
16 * Run the following through g77:
18 subroutine a
19 character*2 string1
20 character*2 string2
21 character*4 string3
22 string1 = 's1'
23 string2 = 's2'
25 c the next 2 lines are ok.
26 string3 = (string1 // string2)
27 call b(string1//string2)
29 c this line gives gcc/f/com.c:10660: failed assertion `hook'
30 call b((string1//string2))
31 end
33 * the output from:
35 * /usr/local/egcs-19990418/bin/g77 --verbose -c D.f
37 * is:
39 * on egcs-2.93.19 19990418 (gcc2 ss-980929 experimental) (from FSF-g77 version 0.5.24-19990418)
40 * Reading specs from /usr/local/egcs-19990418/lib/gcc-lib/alphaev56-unknown-linux-gnu/egcs-2.93.19/specs
41 * gcc version egcs-2.93.19 19990418 (gcc2 ss-980929 experimental)
42 * /usr/local/egcs-19990418/lib/gcc-lib/alphaev56-unknown-linux-gnu/egcs-2.93.19/f771 D.f -quiet -dumpbase D.f -version -fversion -o /tmp/ccNpaaaa.s
43 * GNU F77 version egcs-2.93.19 19990418 (gcc2 ss-980929 experimental) (alphaev56-unknown-linux-gnu) compiled by GNU C version egcs-2.93.19 19990418 (gcc2 ss-980929 experimental).
44 * GNU Fortran Front End version 0.5.24-19990418
45 * ../../../egcs-19990418/gcc/f/com.c:10351: failed assertion `hook'
46 * g77: Internal compiler error: program f771 got fatal signal 6
48 * Yours,
50 * Bjorn R. Bjornsson
51 * brb@halo.hi.is