glennrp@BRL.MIL (Glenn Randers-Pehrson, TBD|WMB) (01/08/91)
SUBROUTINE FTNBUG c c This crashes the IRIX 3.3 FTN compiler when run with c f77 -c -O ftnbug.f on IRIS 4D 220GTX's, IRIX 3.3.1. c c I realize ic1, ic3, and npc1 are unused, but this is extracted c from a much larger subroutine in which they aren't unused. c c glennrp@brl.mil c common /A/ LINNB(603),NPLIN(603) COMMON /B/ ILOCA,I1,I2,I3,I4 IC1=LINNB(I1) NPC1=NPLIN(I1) I3 = 597 I4 = 597 LINNB(I4) = L1 NPLIN(I3) = 2 NPLIN(I4) = 2 IC3=LINNB(I3) RETURN END ...Glenn Randers-Pehrson <glennrp@brl.mil>
calvin@dinkum.wpd.sgi.com (Calvin H. Vu) (01/09/91)
In <9101080833.aa14069@TBD2.BRL.MIL> glennrp@BRL.MIL (Glenn Randers-Pehrson, TBD|WMB) writes: | SUBROUTINE FTNBUG | c | c This crashes the IRIX 3.3 FTN compiler when run with | c f77 -c -O ftnbug.f on IRIS 4D 220GTX's, IRIX 3.3.1. | c | c I realize ic1, ic3, and npc1 are unused, but this is extracted | c from a much larger subroutine in which they aren't unused. This optimizer bug has been fixed in the MIPS 2.10 release which will be in our next release. | | ...Glenn Randers-Pehrson <glennrp@brl.mil> - calvin -- ----------------------------------------------------------------------------- Calvin H. Vu | "We are each of us angels with only one Silicon Graphics Computer Systems | wing. And we can only fly embracing calvin@sgi.com (415) 962-3679 | each other."
glennrp@BRL.MIL (Glenn Randers-Pehrson, TBD|WMB) (01/09/91)
In my earlier message, I was mistaken in saying that the variables were not unused. In fact, the *real* subroutine has several stray definitions. Taking them out eliminates the core dump.