From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1637B3858406; Wed, 29 Sep 2021 15:59:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1637B3858406 From: "dje at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/102519] [12 Regression] VRP Jump threader memory explosion Date: Wed, 29 Sep 2021 15:59:30 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: memory-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: dje 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: 12.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 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: Wed, 29 Sep 2021 15:59:31 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D102519 --- Comment #12 from David Edelsohn --- GCC non-quiet mode shows: ... g_31_31_16 f_31_31_17 g_31_31_17 f_31_31_23 g_31_31_23 f_31_31_24 g_31_31_24 f_31_31_25 g_31_31_25 f_31_31_29 g_31_31_29 f_31_31_30 g_31_31_30 f_31_31_31 g_31_31_31 Analyzing compilation unit Performing interprocedural optimizations <*free_lang_data> {heap 4160k} {heap 4288k} {heap 4288k} {heap 4416k} {heap 9985k} {heap 9985k} {heap 9985k}Streaming LTO {heap 12M} {heap 12M} {heap 15M} {heap 15M} {heap 15M} {heap 15M} {heap 15M} {heap 15M} {heap 15M} {heap 16M} {heap 16M} {heap 16M} {heap 16M} {heap 16M} Assembling functions: f_0_0_0 g_0_0_0 f_0_0_1 g_0_0_1 f_0_0_2 g_0_0_2 f_0_0_7 g_0_0_7 f_0_0_8 g_0_0_8 f_0_0_9 g_0_0_9 f_0_0_15 g_0_0_15 f_0_0_16 g_0_0_16 f_0_0_17 g_0_0_= 17 f_0_0_23=20 ... f_17_15_9 g_17_15_9 f_17_15_15 g_17_15_15 f_17_15_16 g_17_15_16 f_17_15_17 g_17_15_17 f_17_15_23 cc1: out of memory allocating 65536 bytes after a total of 1071778432 bytes Somehow the VRP threader change provoked this change in memory usage and failure mode.=