From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Tue, 15 Jul 1997 16:27:12 -0400 (EDT) From: Greg Woodbury Subject: Re: RH4.2 fort77 bug As I noted, the problem is in the GCC code generator. In "proc.c" of f2c/src the following code appears: else if ( ISINT(nelt->headblock.vtype) && nelt->constblock.Const.ci <= 0 || nelt->constblock.Const.cd[0] <= 0 ) dclerr("nonpositive dimension", q); And this "should" not evaluate the floating point "nelt->constblock.Const.cd[0]" (which is an invalid number, its a union with ints and longs, etc) I changed it to: int theVtype; theVtype = nelt->headblock.vtype; . . . . else if ( ISINT(theVtype) && nelt->constblock.Const.ci <= 0 ) dclerr("nonpositive dimension", q); else if (!ISINT(theVtype) && nelt->constblock.Const.cd[0] <= 0.0 ) dclerr("nonpositive dimension", q); And this takes care of that problem. There are some other problems of this sort occurring as well, so I have a few more changes coming I guess. Greg Woodbury -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com