From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 50A13384475A; Fri, 5 Apr 2024 13:46:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 50A13384475A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712324781; bh=jkRS4poWbAX3Mlh7s9VUZSRYXaY5RGXUz1UWJj02Ftk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=tlv2UxMdJp4eqUtpsfbOMBwhBmdKocVHoGAvYbtt0SOfX0iT6GEoQw9iagEVwr37A u46bZBYGL17H+E8cwQK3bKlprFyaPamH2xQdGzdDq9nPq8DR16B0lMRZ72RCD3qofd 5m288HwEIgP5Uy/yf+u30myK69LiIxNnoJCxBiGc= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/114605] [14 Regression] wrong code with -march=z13 -O0 since r14-5831 Date: Fri, 05 Apr 2024 13:46:20 +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: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_reconfirmed_on bug_status assigned_to everconfirmed 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=3D114605 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2024-04-05 Status|UNCONFIRMED |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gn= u.org Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek --- This is a clear bug in s390_const_int_pool_entry_p. It just uses get_pool_constant but ignores get_pool_mode, which on big-endian is significant. The function doesn't allow offsets like e.g. simplify-rtx.cc (avoid_constant_pool_reference), but still needs to deal with mode mismatch= es.=