From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2F9D93858D38; Fri, 8 Sep 2023 16:02:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2F9D93858D38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1694188945; bh=vXi9G0G73plNVXuHqTOCvCyhU6ioz7waTticwtOTkRY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ymV/BL83BvlErT6lNECFfXkdGJ5/ajXxz9YpbFt56E8SVXbvhNRB+hWHeBvirl49u vD+qH3OB+jRO1JSl6u1PgNutS9a1E1mHk+SN7FW5pHE9fJI3GHUgPmyxL2wyVr6+A9 KqYh3FedqgV3zFFeRCggVl0pGPoZnYRXnK4W5Kt0= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/111340] gcc.dg/bitint-12.c fails on x86_64-apple-darwin or fails on x86_64-linux-gnu with -fPIE Date: Fri, 08 Sep 2023 16:02:24 +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: inline-asm X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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=3D111340 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |uros at gcc dot gnu.org --- Comment #4 from Jakub Jelinek --- Of course, what exactly falls under the "g" constraint is target specific. Though, because that constraint also allows the constant to be reload into a register, if such constant isn't valid, then RA should have reloaded it into register= or memory. Seems the failure is that i386.cc (output_pic_addr_const) doesn't have the CONST_WIDE_INT case unlike output_addr_const.=