[comp.lang.fortran] Long names cause core dump on Sun f77

cpf@batcomputer.tn.cornell.edu (Courtenay Footman) (05/26/87)

Description:
Long variable names cause core dumps on f77 in Sun Unix 4.2,
Release 3.2

Repeat by:
Compile the following "program", with a 17 letter variable name:
-------------------------------------------------------------------------------
      real alongvariablename
      end
-------------------------------------------------------------------------------
The result is:
-------------------------------------------------------------------------------
lnssun8% !f77
f77 -c bug.f
bug.f:
Error on line 1 of bug.f: name alongvariablename too long, truncated to 16
f77: Fatal error in f77pass1: Segmentation fault (core dumped)
-------------------------------------------------------------------------------
Sometimes it reports bus error, rather than segmentation fault.
The bug does not exist on Vaxen or on a Gould. 
-- 
--------------------------------------------------------------------------------
Courtenay Footman		ARPA:	cpf@lnssun9.tn.cornell.edu
Lab. of Nuclear Studies		Usenet:	Not currently available.
Cornell University		Bitnet: cpf%lnssun9.tn.cornell.edu@CRNLCS.BITNET