From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5DA58385843A; Fri, 10 Feb 2023 16:45:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5DA58385843A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1676047544; bh=0GQGOjpO3iDsq7QxykUAHeAII95LfEml3OePgHLtvM4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=tg76rxCG5BuczWBv10lUhxJEkGUzAOVcXpNkuHfct65u7NpivCGBa02g11/kwz3JQ FttKatWFjTyIt4W/Rg4vhZLNTqtEuncrptNq94/xIbBqWzAw1x8uchF1U9edwpLKCw aAPDkDEMV/7hSiiEY42QxoRXuB+wPr00NntdI5mY= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/108500] [11/12 Regression] -O -finline-small-functions results in "internal compiler error: Segmentation fault" on a very large program (700k function calls) Date: Fri, 10 Feb 2023 16:45:44 +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: 12.2.0 X-Bugzilla-Keywords: compile-time-hog, ice-on-valid-code, memory-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.4 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=3D108500 --- Comment #21 from CVS Commits --- The master branch has been updated by Vladimir Makarov : https://gcc.gnu.org/g:3c5154d0f0d2185b518465b264ca17fb7c60c1e8 commit r13-5808-g3c5154d0f0d2185b518465b264ca17fb7c60c1e8 Author: Vladimir N. Makarov Date: Fri Feb 10 11:12:37 2023 -0500 RA: Use simple LRA for huge functions The PR108500 test contains a huge function and RA spends a lot of time to compile the test with -O0. The patch decreases compilation time considerably for huge functions. Compilation time for the PR test decreases from 1235s to 709s on Intel i7-13600K. PR tree-optimization/108500 gcc/ChangeLog: * params.opt (ira-simple-lra-insn-threshold): Add new param. * ira.cc (ira): Use the param to switch on simple LRA.=