https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87256
Sergei Trofimovich <slyfox at inbox dot ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |hppa-* CC| |dave.anglin at bell dot net, | |law at redhat dot com --- Comment #1 from Sergei Trofimovich <slyfox at inbox dot ru> --- Reproducible on today's vanilla gcc-master as well: ./xgcc -B. -v Reading specs from ./specs COLLECT_GCC=./xgcc COLLECT_LTO_WRAPPER=./lto-wrapper Target: hppa2.0-unknown-linux-gnu Configured with: ../gcc/configure --target=hppa2.0-unknown-linux-gnu --prefix=/home/slyfox/dev/git/gcc-hppa2.0/../gcc-hppa2.0-installed --with-sysroot=/usr/hppa2.0-unknown-linux-gnu --disable-bootstrap --enable-languages=c --disable-nls CFLAGS='-O2 -g' CXXFLAGS='-O2 -g' Thread model: posix gcc version 9.0.0 20180908 (experimental) (GCC) $ ./xgcc -B. -O2 -fomit-frame-pointer -c -o bug.o bug.c -ftime-report Time variable usr sys wall GGC phase opt and generate : 10.90 (100%) 0.00 ( 0%) 10.91 (100%) 464 kB ( 30%) df live regs : 0.01 ( 0%) 0.00 ( 0%) 0.00 ( 0%) 0 kB ( 0%) tree PRE : 0.00 ( 0%) 0.00 ( 0%) 0.01 ( 0%) 23 kB ( 2%) expand : 10.89 (100%) 0.00 ( 0%) 10.89 (100%) 50 kB ( 3%) integrated RA : 0.00 ( 0%) 0.00 ( 0%) 0.01 ( 0%) 98 kB ( 6%) TOTAL : 10.90 0.00 10.91 1543 kB Extra diagnostic checks enabled; compiler may run slowly. Configure with --enable-checking=release to disable checks. $ perf record -- ./xgcc -B. -O2 -fomit-frame-pointer -c -o bug.o bug.c -ftime-report $ perf report | cat 96.49% cc1 cc1 [.] synth_mult 2.36% cc1 cc1 [.] optimize_function_for_size_p 0.34% cc1 cc1 [.] optimize_insn_for_size_p 0.32% cc1 cc1 [.] optimize_insn_for_speed_p 0.02% cc1 [kernel.vmlinux] [k] native_irq_return_iret