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

            Bug ID: 79577
           Summary: Infinite loop with -fselective-scheduling2 -O2 --param
                    selsched-max-sched-times=0
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---

Running simple test-case:

$ cat ~/Programming/testcases/ice.c
a () {}

$ ./xgcc -B. -fselective-scheduling2 -O2 --param selsched-max-sched-times=0
~/Programming/testcases/ice.c

Runs in an infinite loop. All release I have are affected. I would recommend to
change minimum of the param to 1. Hope it makes sense?

Reply via email to