This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/48352] [4.7 Regression] segfault in fortran/frontend-passes.c


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

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at gcc dot       |tkoenig at gcc dot gnu.org
                   |gnu.org                     |

--- Comment #7 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2011-03-31 18:31:22 UTC ---
(In reply to comment #5)
> reduced:
> 
> INTEGER, DIMENSION(:), POINTER :: a
> DO I=1,MIN(SIZE(a),SIZE(a))
> ENDDO
> END

Thanks, Joost.

Slightly more reduced test case (from the point of
stepping through the code):

interface
   pure integer function f()
   end function f
end interface
DO I=1,min(f(),f())
ENDDO
END

Somehow, the insertion of the statement with the extra variable doesn't
work for DO loops.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]