OSDN Git Service

2004-07-17 Jeroen Frijters <jeroen@frijters.net>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g77.f-torture / compile / 19990525-0.f
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
10
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.
14
15 * Run the following through g77:
16
17         subroutine      a
18         character*2     string1
19         character*2     string2
20         character*4     string3
21         string1 = 's1'
22         string2 = 's2'
23 c
24 c the next 2 lines are ok.
25         string3 = (string1 // string2)
26         call b(string1//string2)
27 c
28 c this line gives gcc/f/com.c:10660: failed assertion `hook'
29         call b((string1//string2))
30         end
31
32 * the output from:
33
34 *       /usr/local/egcs-19990418/bin/g77 --verbose -c D.f
35
36 * is:
37
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
46
47 * Yours,
48
49 * Bjorn R. Bjornsson
50 * brb@halo.hi.is