From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B7DBA3858C2D; Tue, 24 Jan 2023 12:36:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B7DBA3858C2D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1674563771; bh=ZMUHek1K1ltPdDetnSuI8pC+M0fT/9jWFARUUnscep4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=K8rxY4NKzxgohbGj0gr+FCM7dNsDPEyPVIaDaNwrEn57lC3tmVJKBUk/q8Nl0dRYO y2LHsL+ugW4j12Ry+9f+5XSrbrMCemmMIt204Cl8RzKw0MVoEIhM9u9sja5CY3ymHs 4oRb3HKmU0CmSI8EuGAKqqKPjgKzxzn+BC0U50SI= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/108500] [11/12/13 Regression] -O -finline-small-functions results in "internal compiler error: Segmentation fault" on a very large program (700k function calls) Date: Tue, 24 Jan 2023 12:36:11 +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: rguenth 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: short_desc target_milestone cf_known_to_work 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 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|-O -finline-small-functions |[11/12/13 Regression] -O |results in "internal |-finline-small-functions |compiler error: |results in "internal |Segmentation fault" on a |compiler error: |very large program (700k |Segmentation fault" on a |function calls) |very large program (700k | |function calls) Target Milestone|--- |11.4 Known to work| |10.4.0, 7.5.0, 9.3.1 --- Comment #7 from Richard Biener --- It works with GCC 10 for me but I'm sure that makes it a regression only because of the size of the testcase, it still inlines everything and removes 1399835 blocks.=