This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Another g77 test


Jeff, could you please install this as

  egcs/gcc/testsuite/g77-f.torture/execute/980628-6.f

for me?  Thanks!

        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(100)
      common /cmn/ c, d

      if (d(80) .ne. 10.) call abort

      end

      block data init
      implicit none

      character c
      double precision d(100)
      common /cmn/ c, d

      data d(80)/10./

      end


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]