From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DB2993860C36; Fri, 31 Jul 2020 09:04:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DB2993860C36 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1596186259; bh=ZTQvgDlnXz4zUjcAXQj/NdEVB884RbI8X1sN/YlxD9M=; h=From:To:Subject:Date:In-Reply-To:References:From; b=xkMxp5C+XNvb7X8/4Bolo4Ca4mzA/sYC0iJIhhTejsAokV2L1LQvFJlbqu6M+83vx 1iNcfQ0/4584CK2lYRSmBGJpsTxZI+oODKPsDWw/qjLVV0gWPHPZNvuP923uAx6ki8 XdB7lzzHLk7qQeLk0YabmAYtifO5u2auaSude96M= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/96388] scheduling takes forever with -fPIC Date: Fri, 31 Jul 2020 09:04:19 +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: 11.0 X-Bugzilla-Keywords: compile-time-hog, memory-hog, needs-reduction X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW 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: Fri, 31 Jul 2020 09:04:20 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96388 --- Comment #10 from Richard Biener --- The partially reduced (In reply to Martin Li=C5=A1ka from comment #9) > Created attachment 48962 [details] > Partially reduced test-case >=20 > The reduction is quite stuck at this point. No longer keys on -fPIC though, so the bisection for this is likely wrong. -fno-schedule-insns2 improves it from 18s to 5s compile time and from 1.1GB of peak RSS to 320MB. scheduling 2 : 12.69 ( 71%) 0.10 ( 67%) 12.79 ( = 70%) 11128 kB ( 16%) -fmem-report doesn't show anything interesting, looking for heap allocations now to find the offender. Can you bisect your reduced testcase again? GCC 8.4 behaves the same for it rather than being good but GCC 4.8.5 is fine.=