From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A95233858CDA; Tue, 5 Mar 2024 12:21:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A95233858CDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709641307; bh=FPnprCz2sRBLHNlo6wrpVJM7K9C/gEL268K8KeKTVz0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=xy/StiG/1PTOi7xVb5cJkaHKNxX7oF+/ZUrp9NkEilyPP3mUnG4peJBStejF3Rh6n Q0ClChsqIAvODh6NaFRqdzbLqIlH6INtIfdwewOYQuIvjiEawptlhgWRQ1M2hw3ivc 2t4Pm/J1DnGmb/yIR8aRJcmZNC/ZLIU1avbxmnYc= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/114232] [14 regression] ICE when building rr-5.7.0 with LTO on x86 Date: Tue, 05 Mar 2024 12:21:46 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ubizjak at gmail dot com X-Bugzilla-Target-Milestone: 14.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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D114232 --- Comment #17 from Jakub Jelinek --- Either change those too, or the splitter needs some variant what to do if t= here is a mismatch. Though, optimize_size implies optimize_function_for_size_p (cfun), so if a named pattern uses && optimize_size and the insn it splits into uses optimize_function_for_size_p (cfun), it shouldn't fail. The other directio= n is not always true, optimize_function_for_size_p (cfun) can be true just becau= se the function is cold, not just because it is -Os.=