2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g77.f-torture / compile / 19990525-0.f
blob5b8d466e40d82a50dbae0260a89b6f2d23590e66
1 * Mailing-List: contact egcs-bugs-help@egcs.cygnus.com; run by ezmlm
2 * Precedence: bulk
3 * Sender: owner-egcs-bugs@egcs.cygnus.com
4 * From: "Bjorn R. Bjornsson" <brb@halo.hi.is>
5 * Subject: g77 char expr. as arg to subroutine bug
6 * To: egcs-bugs@egcs.cygnus.com
7 * Date: Tue, 25 May 1999 14:45:56 +0000 (GMT)
8 * Content-Type: text/plain; charset=US-ASCII
9 * X-UIDL: 06000c94269ed6dfe826493e52a818b9
11 * The following bug is in all snapshots starting
12 * from April 18. I have only tested this on Alpha linux,
13 * and with FFECOM_FASTER_ARRAY_REFS set to 1.
15 * Run the following through g77:
17 subroutine a
18 character*2 string1
19 character*2 string2
20 character*4 string3
21 string1 = 's1'
22 string2 = 's2'
24 c the next 2 lines are ok.
25 string3 = (string1 // string2)
26 call b(string1//string2)
28 c this line gives gcc/f/com.c:10660: failed assertion `hook'
29 call b((string1//string2))
30 end
32 * the output from:
34 * /usr/local/egcs-19990418/bin/g77 --verbose -c D.f
36 * is:
38 * on egcs-2.93.19 19990418 (gcc2 ss-980929 experimental) (from FSF-g77 version 0.5.24-19990418)
39 * Reading specs from /usr/local/egcs-19990418/lib/gcc-lib/alphaev56-unknown-linux-gnu/egcs-2.93.19/specs
40 * gcc version egcs-2.93.19 19990418 (gcc2 ss-980929 experimental)
41 * /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
42 * 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).
43 * GNU Fortran Front End version 0.5.24-19990418
44 * ../../../egcs-19990418/gcc/f/com.c:10351: failed assertion `hook'
45 * g77: Internal compiler error: program f771 got fatal signal 6
47 * Yours,
49 * Bjorn R. Bjornsson
50 * brb@halo.hi.is