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

            Bug ID: 77471
           Summary: -O3 -g comile time hog on ppc64le
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: trippels at gcc dot gnu.org
  Target Milestone: ---
              Host: powerpc64le-unknown-linux-gnu
            Target: powerpc64le-unknown-linux-gnu
             Build: powerpc64le-unknown-linux-gnu

Created attachment 39546
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39546&action=edit
unreduced testcase

On ppc64le I see:

trippels@gcc2-power8 linux-4.7.2 % time gcc -O2 -g -c qla_dbg.i
gcc -O2 -g -c qla_dbg.i  1.81s user 0.02s system 99% cpu 1.827 total

trippels@gcc2-power8 linux-4.7.2 % time gcc -O3 -c qla_dbg.i
gcc -O3 -c qla_dbg.i  5.65s user 0.04s system 99% cpu 5.686 total

trippels@gcc2-power8 linux-4.7.2 % time gcc -O3 -g -c qla_dbg.i
gcc -O3 -g -c qla_dbg.i  86.01s user 0.15s system 99% cpu 1:26.16 total

Happens with all supported gcc versions and also for gcc-4.9.

Reply via email to