This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
More g77 tests (2 of 2)
- To: egcs-patches at cygnus dot com
- Subject: More g77 tests (2 of 2)
- From: Craig Burley <burley at gnu dot org>
- Date: Sun, 28 Jun 1998 13:47:35 -0400 (EDT)
Jeff, could you please install this as:
egcs/gcc/testsuite/g77-f.torture/execute/980628-5.f
tq vm, (burley)
* g77 0.5.23 and previous had bugs involving too little space
* allocated for EQUIVALENCE and COMMON areas needing initial
* padding to meet alignment requirements of the system,
* including when initial values are provided (e.g. DATA).
program test
implicit none
character c
double precision d
common /cmn/ c, d
if (c .ne. '1') call abort
if (d .ne. 10.) call abort
end
block data init
implicit none
character c
double precision d
common /cmn/ c, d
data c/'1'/, d/10./
end