------- Comment #1 from burnus at gcc dot gnu dot org  2008-10-27 22:19 -------
Confirm. Works also with NAG f95 and ifort; does not compile with openf95, ICEs
with sunf95 and gfortran 4.1/4.2.

    D.1627 = mysize (D.1625);
    [...]
    D.1650 = MAX_EXPR <D.1627, 0>;
    p (pstr.23, D.1650, D.1616, mysize);
    D.1632 = MAX_EXPR <D.1627, 0>;
    if (D.1632 > 2) goto <D.1651>; else goto <D.1652>;

I don't understand the dump. Why is D.1627 and not D.1650 used for D.1532? Any
why is there is "D.1650 = MAX_EXPR <D.1627, 0>;" for the result variable. It
probably does not harm, but it does not make sense either. (Still, I don't see
why D.1532 is (presumably) "1" and not "3".)


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |32834
              nThis|                            |
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-10-27 22:19:10
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37926

Reply via email to