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

            Bug ID: 127631
           Summary: rnflow hangs with higher optimiztaion
           Product: gcc
           Version: 17.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tkoenig at gcc dot gnu.org
  Target Milestone: ---

This is on x86_64.

-O1 gives:

 0: 0: 0.000 -> Read sequence
  0: 0: 0.125 -> extract extrema
  0: 0: 0.127 -> Generate raw transitions counts
  0: 0: 0.129 -> Compute Markov matrix
  0: 0: 0.129 -> Calculate theoretical rainflow
  0: 0: 6.828 -> Simulate random markov sequences
  0: 0: 6.946 -> Completed simulation #    1

-O2 and -O3 hang after

  0: 0: 0.000 -> Read sequence
  0: 0: 0.125 -> extract extrema
  0: 0: 0.126 -> Generate raw transitions counts
  0: 0: 0.127 -> Compute Markov matrix
  0: 0: 0.128 -> Calculate theoretical rainflow
  0: 0: 6.587 -> Simulate random markov sequences

This is with GNU Fortran (GCC) 17.0.0 20260717 (experimental)

Reply via email to