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

            Bug ID: 102011
           Summary: Infinite loop in heron iteration when optimization is
                    enabled with gfortran 10.3.0
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ralph-trenk...@t-online.de
  Target Milestone: ---

Created attachment 51346
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51346&action=edit
The fortran program, which does the infinite loop with compiler version 10.3.0

I wrote a function in gfortran-10.3.0, which computes the square root with the
heron iteration method. Without optimization the program is okay, but if I turn
on optimization, then it does an infinite loop. I use Kubuntu 20.04.

Reply via email to