From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C1694383089F; Sun, 12 Jun 2022 09:40:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C1694383089F From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/105747] Scheduler can take a long time on arm-linux sometimes Date: Sun, 12 Jun 2022 09:40:17 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: compile-time-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jun 2022 09:40:17 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D105747 --- Comment #9 from David Binderman --- (In reply to David Binderman from comment #8) > (In reply to David Binderman from comment #7) > > Created attachment 53119 [details] > > C source code > >=20 > > Another one. Over 15 minutes this time. >=20 > Flag -O2 required. Runs in 21 minutes on an RP3. dcb@raspberrypi:~/csmith $ (ulimit -t 1800;time /home/dcb/gcc/results/bin/g= cc -I/home/dcb/csmith/results/include/csmith-2.3.0/ -c -g -w -O2 -freport-bug -ftime-report destDir/testFile.23139.c ) Time variable usr sys = wall GGC phase parsing : 0.77 ( 0%) 1.55 ( 33%) 2.31 ( = 0%) 3597k ( 2%) phase opt and generate :1261.54 (100%) 3.05 ( 66%)1267.62 (1= 00%) 188M ( 97%) callgraph functions expansion :1212.97 ( 96%) 2.24 ( 48%)1218.13 ( = 96%) 179M ( 93%) callgraph ipa passes : 47.88 ( 4%) 0.79 ( 17%) 48.78 ( = 4%) 4512k ( 2%) alias stmt walking : 125.32 ( 10%) 0.70 ( 15%) 127.13 ( = 10%) 126k ( 0%) preprocessing : 0.20 ( 0%) 0.44 ( 9%) 0.58 ( = 0%) 941k ( 0%) lexical analysis : 0.25 ( 0%) 0.47 ( 10%) 0.87 ( = 0%) 0 ( 0%) parser function body : 0.23 ( 0%) 0.49 ( 11%) 0.68 ( = 0%) 1585k ( 1%) tree operand scan : 0.31 ( 0%) 0.33 ( 7%) 0.71 ( = 0%) 830k ( 0%) tree SSA verifier : 3.12 ( 0%) 0.10 ( 2%) 3.12 ( = 0%) 0 ( 0%) dead store elim2 : 16.05 ( 1%) 0.13 ( 3%) 16.30 ( = 1%) 62M ( 32%) PRE : 19.65 ( 2%) 0.25 ( 5%) 19.90 ( = 2%) 46M ( 24%) scheduling : 865.21 ( 69%) 0.20 ( 4%) 867.61 ( = 68%) 4186k ( 2%) address taken : 0.16 ( 0%) 0.14 ( 3%) 0.22 ( = 0%) 0 ( 0%) Extra diagnostic checks enabled; compiler may run slowly. Configure with --enable-checking=3Drelease to disable checks. real 21m10.578s user 21m2.776s sys 0m4.705s=