[net.bugs.4bsd] f77 -O bugs in 4.2BSD and Ultrix 1.12

swalton@well.UUCP (Stephen R. Walton) (09/16/86)

I'm a recent reader of net.bugs.4bsd (two weeks or so now), and I have
a request for help with f77 on both 4.2BSD and Ultrix 1.[12].  First,
here's a bug report:

Symptom:
	The f77 compiler will not optimize a concatenation of varying-
	length character strings under Ultrix 1.[12].

Reproduce by:
	Create the following file and do f77 -O -c:

		subroutine bug(str1, str2)
		character*(*) str1, str2
		character*100 str3
		str3 = str1//str2
		return
		end

	You will get two "Error in line 4: impossible element in
	concatenation" messages.

Fix:
	Unknown

Does anyone out there have a fix for this problem (we don't have source at
our site)?  More generally, has anyone been saving up previous patches
to f77 under either 4.2BSD or Ultrix someplace where they can be mailed
to me and/or I can FTP them?  The 4.2 stuff is less important, since
we'll be installing 4.3 in two weeks or so.
    Thanks very much!  Please email replies to:

Stephen Walton, Ametek Computer Research Division
ARPA:	ametek!walton@csvax.caltech.edu OR @cit-vax.arpa
BITNET:	walton@caltech
UUCP:	...!ucbvax!sun!megatest!ametek!walton