Patch-ID# 100332-05 Keywords: Fortran, Optimizer, Assembler, Code Generator, Math Library, SC1.0 Synopsis: Fortran 1.4: Fixes several bugs including the back end components Date: 13-Feb-92 SunOS release: 4.1 / 4.1.1 Unbundled Product: FORTRAN Unbundled Release: 1.4, Patch Release 5 Topic: FORTRAN 1.4, Patch Release 5 BugIds fixed in this patch: 1038650, 1070315, 1074464, 1075144, 1076384, 1078317 BugIds fixed in a previous patch release [fixes included in this release]: 1026497, 1041789, 1044329, 1044552, 1052173, 1052645, 1054414, 1056865, 1056866, 1058033, 1058888, 1059673, 1060916, 1061604, 1062128, 1065805, 1065943, 1066115, 1066839, 1067259, 1069293, 1069318, 1070243, 1070381, 1073309 Architectures for which this patch is available: Sun4, Sun3 Patches which may conflict with this patch: If you have previous versions of this Patch Release, you can install this over them. The fixes are cumulated in this release. Obsoleted by: Problem Description: Detailed in the README/fortran_software file in the SC1.0.1 directory 1026497 f77 produces bad .stabs for complex structure/union/map 1038650 data value too large for most negative (smallest) integer -2147483648 1041789 Compiler error Impossible tag impldo in routine frexp 1044329 compile -g fails if include is first statement new_triple: 1044552 libF77 contains yacc and lex names _yyparse _yyerror _yylex 1052173 f77pass1 generates kernel error: sendsig: bad signal stack 1052645 Chars 0 to 255 not in fully ordered sequence (not unsigned) 1054414 -U leave upper case option cancels $pragma C() 1056865 do not compute (1/x)**k for x**-k 1056866 x**(-k) computed by inverting x first 1058033 Imaginary part of complex # element of array crashes with O2 or > 1058888 1.3.1 G Format fails on 1.4 libF77.so ld.so undefined ___no 1059673 namelist read of certain sizes fails 1060916 bug in complex template Fc_ne 1061604 Spurious spaces embedded in writing unformatted file 1062128 SC1.0 Optimizer is missing some things it did under SC0.0 1065805 trivial program segment faults f77pass1 1065943 ieee_retrospective "broken" 1066115 secnds doesn't return correct results 1066839 Assigning a binary constant to a character results in core 1067259 1 or 2 byte hollerith strings or constants are not aligned 1069293 CONVERT_EXTERNAL fails for double precision vax to double precision sun 1069318 sscanf does not work correctly when long double value overflows 1070243 Undefined symbol _MAIN_ when using ld1.1.38 patch. 1070315 binaries compiled on 1.3.1 can give undefined symbol when run with 1.4 1070381 printf of 1.0*2**1937 in long double format dumps core 1073309 Bus error and seg. violation due to optimization problem with 1.4 1074464 run-time segmentation violation from four_digits_quick 1075144 Fortran 1.4 is missing the srcbrowser help file SourceBrowser.info 1076384 impossible tag bad tag with inquire statement and -C option. 1078317 -Nx option set to high number (of COMMON blocks) causes compiler error. Note: The new Assembler and Code Generator backend components are included in the sun4 version only. The sun3 version still uses the original backend components. INSTALL: These instructions assume you have the following in /tmp this README file (SC1.0.1_README), and a tar file of the directory SC1.0.1 (called SC1.0.1_tar) Do either A or B: A. If FORTRAN 1.4 was installed into /usr/lang 1. Put the files into /usr/lang: cd /usr/lang tar xvf /tmp/SC1.0.1_tar 2. Remove the soft links of f77, as & fpversion to /usr/lang/SC1.0 rm /usr/lang/f77 rm /usr/lang/as (sun4 only) rm /usr/lang/fpversion (sun4 only) 3. Replace them with the soft links to /usr/lang/SC1.0.1 ln -s /usr/lang/SC1.0.1/f77 ln -s /usr/lang/SC1.0.1/as (sun4 only) ln -s /usr/lang/SC1.0.1/fpverison (sun4 only) 4. Copy the "whatis" file from SC1.0.1/README to /usr/lang/man cp SC1.0.1/README/whatis man/whatis B. If FORTRAN 1.4 was installed into /mydir (Non-Standard Installation ) 1. Put the files into /mydir: cd /mydir tar xvf /tmp/SC1.0.1_tar 2. Remove the soft links of f77, as and fpversion to /mydir/SC1.0 rm /mydir/f77 rm /mydir/as (sun4 only) rm /mydir/fpversion (sun4 only) 3. Replace them with the soft links to /mydir/SC1.0.1 ln -s /mydir/SC1.0.1/f77 ln -s /mydir/SC1.0.1/as (sun4 only) ln -s /mydir/SC1.0.1/fpversion (sun4 only) 4. Copy the "whatis" file from SC1.0.1/README to /mydir/man cp SC1.0.1/README/whatis man/whatis NOTE: If you have older binaries that are dynamically linked and you would like to run them such that they get linked in with these newer patched dynamic libraries then you can: setenv LD_LIBRARY_PATH /usr/lang/SC1.0.1 or setenv LD_LIBRARY_PATH /mydir/SC1.0.1 so that these newer dynamic libraries are linked in.