public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/111619] New: [14 regression] 'make profiledbootstrap' makes 10+ minutes on insn-recog.cc (x86_64-linux)
@ 2023-09-27 22:02 slyfox at gcc dot gnu.org
  2023-09-27 22:17 ` [Bug target/111619] " slyfox at gcc dot gnu.org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: slyfox at gcc dot gnu.org @ 2023-09-27 22:02 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 111619
           Summary: [14 regression] 'make profiledbootstrap' makes 10+
                    minutes on insn-recog.cc (x86_64-linux)
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: slyfox at gcc dot gnu.org
  Target Milestone: ---

The reproducer on gcc from r14-4300-g1fab05a885a308:

$ ~/dev/git/gcc/configure --disable-multilib --enable-languages=c,c++
$ make profiledbootstrap

insn-recog.o takes ~13 min to build on `AMD Ryzen 9 5950X` CPU:

$ time /tmp/gb/./prev-gcc/cc1plus -quiet -nostdinc++ -I
/tmp/gb/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I
/tmp/gb/prev-x86_64-pc-linux-gnu/libstdc++-v3/include -I
/home/slyfox/dev/git/gcc/libstdc++-v3/libsupc++ -I . -I . -I
/home/slyfox/dev/git/gcc/gcc -I /home/slyfox/dev/git/gcc/gcc/. -I
/home/slyfox/dev/git/gcc/gcc/../include -I
/home/slyfox/dev/git/gcc/gcc/../libcpp/include -I
/home/slyfox/dev/git/gcc/gcc/../libcody -I
/home/slyfox/dev/git/gcc/gcc/../libdecnumber -I
/home/slyfox/dev/git/gcc/gcc/../libdecnumber/bid -I ../libdecnumber -I
/home/slyfox/dev/git/gcc/gcc/../libbacktrace -iprefix
/tmp/gb/prev-gcc/../lib/gcc/x86_64-pc-linux-gnu/14.0.0/ -isystem
/tmp/gb/./prev-gcc/include -isystem /tmp/gb/./prev-gcc/include-fixed -MMD
insn-recog.d -MF ./.deps/insn-recog.TPo -MP -MT insn-recog.o -D_GNU_SOURCE -D
IN_GCC -D HAVE_CONFIG_H insn-recog.cc -quiet -dumpbase insn-recog.cc
-dumpbase-ext .cc -mtune=generic -march=x86-64 -g -gtoggle -O2 -Wextra -Wall
-Wno-narrowing -Wwrite-strings -Wcast-qual -Wsuggest-attribute=format
-Wconditionally-supported -Woverloaded-virtual=2 -Wpedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings -Werror -fno-checking
-fprofile-generate -fno-exceptions -fno-rtti -fasynchronous-unwind-tables
-fno-common -fno-PIE -o /run/user/1000/ccQK54tL.s

real    13m39,864s
user    13m38,263s
sys     0m0,823s

`insn-recog.cc` is 8.3MB.

$ ./prev-gcc/xgcc -Bprev-gcc -v
Reading specs from prev-gcc/specs
COLLECT_GCC=./prev-gcc/xgcc
COLLECT_LTO_WRAPPER=prev-gcc/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /home/slyfox/dev/git/gcc/configure --disable-multilib
--enable-languages=c,c++
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 14.0.0 20230926 (experimental) (GCC)

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2023-09-28  8:31 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-27 22:02 [Bug target/111619] New: [14 regression] 'make profiledbootstrap' makes 10+ minutes on insn-recog.cc (x86_64-linux) slyfox at gcc dot gnu.org
2023-09-27 22:17 ` [Bug target/111619] " slyfox at gcc dot gnu.org
2023-09-27 22:26 ` [Bug rtl-optimization/111619] " pinskia at gcc dot gnu.org
2023-09-27 22:27 ` pinskia at gcc dot gnu.org
2023-09-28  5:18 ` slyfox at gcc dot gnu.org
2023-09-28  5:35 ` slyfox at gcc dot gnu.org
2023-09-28  5:46 ` slyfox at gcc dot gnu.org
2023-09-28  5:49 ` pinskia at gcc dot gnu.org
2023-09-28  5:50 ` slyfox at gcc dot gnu.org
2023-09-28  6:08 ` sjames at gcc dot gnu.org
2023-09-28  6:48 ` rguenth at gcc dot gnu.org
2023-09-28  7:39 ` [Bug rtl-optimization/111619] " slyfox at gcc dot gnu.org
2023-09-28  8:30 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).