From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D9AD23858C3A; Thu, 9 Feb 2023 15:31:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D9AD23858C3A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675956693; bh=5yoOvRmBst/BsNxQif7NQeDtbL56hSicsxtWzob+CB0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=gQn5bucJvNSkl9MAC9DjJv5lRYbl4xjIBXzEIJDNwoVl4TngEaqbV/bNZEQ/grBdl yQl/BpKG7f2mqRbyfobtEuctjvpVb7qCThYfu5eUQydzcLhWrTM64ZX7rAQflZyHMO JCu+j4kNkHjX1ZNkj+NXQ17j8ABTYgfD/EZ52/C0= From: "rimvydas.jas at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/108705] [13 Regression] Unexpected CPU time usage with LTO in ranger propagation Date: Thu, 09 Feb 2023 15:31:33 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: compile-time-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: rimvydas.jas at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108705 --- Comment #4 from Rimvydas (RJ) --- Interesting. I see failure even on online godbolt compiler x86-64 gfortran (trunk) with -O2: "Killed - processing time exceeded" Just rechecked on fresh arch linux with gcc 12.2.1 host: $ ./gcc/gfortran -Bgcc/ -v -O2 -ftime-report -c hog.f90 Reading specs from gcc/specs COLLECT_GCC=3D./gcc/gfortran Target: x86_64-pc-linux-gnu Configured with: /zzz/gg/configure --disable-multilib Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 13.0.1 20230209 (experimental) (GCC) COLLECT_GCC_OPTIONS=3D'-B' 'gcc/' '-v' '-O2' '-ftime-report' '-c' '-mtune=3Dgeneric' '-march=3Dx86-64' gcc/f951 hog.f90 -quiet -dumpbase hog.f90 -dumpbase-ext .f90 -mtune=3Dgene= ric -march=3Dx86-64 -O2 -version -ftime-report -fintrinsic-modules-path finclude -fpre-include=3D/usr/include/finclude/math-vector-fortran.h -o /tmp/ccnSnvQ= 4.s GNU Fortran (GCC) version 13.0.1 20230209 (experimental) (x86_64-pc-linux-g= nu) compiled by GNU C version 13.0.1 20230209 (experimental), GMP versi= on 6.2.1, MPFR version 4.2.0, MPC version 1.3.1, isl version isl-0.24-GMP GGC heuristics: --param ggc-min-expand=3D30 --param ggc-min-heapsize=3D4096 Time variable usr sys = wall GGC phase parsing : 0.01 ( 0%) 0.00 ( 0%) 0.01 ( = 0%) 1884k ( 55%) phase opt and generate :2039.11 (100%) 0.02 (100%)2039.15 (1= 00%) 1319k ( 39%) callgraph functions expansion :2039.11 (100%) 0.01 ( 50%)2039.13 (1= 00%) 1145k ( 34%) callgraph ipa passes : 0.00 ( 0%) 0.01 ( 50%) 0.02 ( = 0%) 151k ( 4%) df live regs : 0.00 ( 0%) 0.00 ( 0%) 0.01 ( = 0%) 0 ( 0%) parser (global) : 0.01 ( 0%) 0.00 ( 0%) 0.01 ( = 0%) 1884k ( 55%) integration : 0.00 ( 0%) 0.01 ( 50%) 0.00 ( = 0%) 124k ( 4%) tree VRP : 6.88 ( 0%) 0.00 ( 0%) 6.88 ( = 0%) 78k ( 2%) tree SSA rewrite : 0.00 ( 0%) 0.00 ( 0%) 0.01 ( = 0%) 4488 ( 0%) tree SSA incremental : 0.00 ( 0%) 0.00 ( 0%) 0.01 ( = 0%) 26k ( 1%) dominator optimization :2032.19 (100%) 0.00 ( 0%)2032.20 (1= 00%) 16k ( 0%) tree PRE : 0.00 ( 0%) 0.00 ( 0%) 0.01 ( = 0%) 16k ( 0%) tree conservative DCE : 0.01 ( 0%) 0.00 ( 0%) 0.00 ( = 0%) 2360 ( 0%) tree SSA verifier : 0.00 ( 0%) 0.00 ( 0%) 0.01 ( = 0%) 0 ( 0%) tree modref : 0.00 ( 0%) 0.01 ( 50%) 0.00 ( = 0%) 6056 ( 0%) out of ssa : 0.01 ( 0%) 0.00 ( 0%) 0.00 ( = 0%) 0 ( 0%) CSE 2 : 0.01 ( 0%) 0.00 ( 0%) 0.00 ( = 0%) 48 ( 0%) initialize rtl : 0.01 ( 0%) 0.00 ( 0%) 0.00 ( = 0%) 12k ( 0%) rest of compilation : 0.00 ( 0%) 0.00 ( 0%) 0.02 ( = 0%) 14k ( 0%) TOTAL :2039.12 0.02 2039.16=20= =20=20=20=20=20=20 3404k Extra diagnostic checks enabled; compiler may run slowly. Configure with --enable-checking=3Drelease to disable checks. COLLECT_GCC_OPTIONS=3D'-B' 'gcc/' '-v' '-O2' '-ftime-report' '-c' '-mtune=3Dgeneric' '-march=3Dx86-64' gcc/as -v --64 -o hog.o /tmp/ccnSnvQ4.s GNU assembler version 2.40 (x86_64-pc-linux-gnu) using BFD version (GNU Binutils) 2.40 COMPILER_PATH=3Dgcc/ LIBRARY_PATH=3Dgcc/:/lib/../lib64/:/usr/lib/../lib64/:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS=3D'-B' 'gcc/' '-v' '-O2' '-ftime-report' '-c' '-mtune=3Dgeneric' '-march=3Dx86-64'=