[Bug fortran/69155] [6 Regression] ICE (segfault in gimple_stmt_nonnegative_warnv_p)

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jan 9 09:28:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69155

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Reduced testcase (-O1 is enough):
function pr69155 (a, b)
  complex(kind=8), value :: a, b
  if (dimag (a) .lt. 10) then
  1 continue
    if (dble (a) .lt. 10) then
      b = b - 1 / a
      a = a + 1
      goto 1
    end if
  end if
  pr69155 = a + b
end


More information about the Gcc-bugs mailing list