From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9C0E23858D32; Mon, 16 Jan 2023 06:44:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9C0E23858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1673851441; bh=Q6lRRggZMIYboPhsSSSUht0rhLqimpCC/mw5NHU8K3o=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Q1YyR4LDiVhgBb/6opI7eeNktyvhlomjaweXeNKV/Ulb/JbY2V9dsU+Kuo+R/8rMu Z1opCKFwe9ORiUKXb5xbtkvxF0BglOtnDNb/WlYuSeV/mxlbX/9eiQSSgK5gbVRg8o b/AKSGARl0gT2TDplq58XvdxpDYPGObr5WQTvttY= From: "linkw at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/108240] [13 Regression] Error message missing since r13-4894-gacc727cf02a144 (then make concealed ICE exposed) Date: Mon, 16 Jan 2023 06:44:01 +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: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: linkw at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: linkw at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc bug_file_loc 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=3D108240 Kewen Lin changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[13 Regression] ICE in |[13 Regression] Error |emit_library_call_value_1 |message missing since |at gcc/calls.cc:4181 since |r13-4894-gacc727cf02a144 |r13-4894-gacc727cf02a144 |(then make concealed ICE | |exposed) URL| |https://gcc.gnu.org/piperma | |il/gcc-patches/2023-January | |/609492.html --- Comment #10 from Kewen Lin --- Put the ICE aside, the actual regression here is that for the given option = set the expected error message below is missing: f951: Error: =E2=80=98-m64=E2=80=99 requires a PowerPC64 cpu But note that we only emit this error message when there is no explicit -m6= 4. The ICE shows up with an explicit option -m64 given without r13-4894 also proves this (since otherwise we see error message first instead of ICE). So to fix the regression itself, we only need to consider the case without = any explicit -m64, that's what the proposed patch aims to fix.=