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

            Bug ID: 97087
           Summary: [11 regression] 70x slow -O3
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dimhen at gmail dot com
  Target Milestone: ---

Created attachment 49234
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49234&action=edit
-O3 slowdown 70x

gcc -O3 -c y.i
r11-3192 0.06s
r11-3210 3.45s
r11-3234 3.61s

gcc -O2 -c y.i
r11-3192 0.05s
r11-3210 0.05s
r11-3234 0.05s

$ ~/arch-gcc/gcc_current/bin/gcc -v
Using built-in specs.
COLLECT_GCC=/home/dimhen/arch-gcc/gcc_current/bin/gcc
COLLECT_LTO_WRAPPER=/home/dimhen/arch-gcc/gcc_current/libexec/gcc/x86_64-pc-linux-gnu/11.0.0/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
Target: x86_64-pc-linux-gnu
Configured with: /home/dimhen/src/gcc_current/configure
--prefix=/home/dimhen/arch-gcc/gcc_current
--enable-checking=yes,df,fold,rtl,extra --enable-languages=c,c++,lto
--disable-multilib --enable-shared --enable-threads=posix --enable-__cxa_atexit
--enable-gnu-unique-object --enable-linker-build-id
--with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl
--enable-offload-targets=nvptx-none --without-cuda-driver
--enable-gnu-indirect-function --enable-cet --with-tune=native
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.0.0 20200916 (experimental) [master revision
7d1be939e0f:e8cbe88c94b:aab6194d0898f5c592708fe2d44a14046b4d9097] (GCC)

Reply via email to