From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5BABD3858D1E; Sun, 31 Mar 2024 08:26:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5BABD3858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1711873607; bh=ywPC66LhX1/jL5NCrxrw9cGp6IjUwaQSuh5httUCD8k=; h=From:To:Subject:Date:In-Reply-To:References:From; b=h67TyTxL8vVDK39kEzBBfAJewyH9veaKKjJIoMlr+urKwNVapV7wqfAztFmDupkil vIpOlXUMpMzWRKsCcYwy79l20UbIqhzAfID5hhCEF+xGRUR2lUttK1+W4DoH0xAiwS 86xEh/5cfYPIVjjo2p5w3zW0VZZaZPQwEwlkeE44= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/88309] [11/12/13/14 Regression] ICE: Floating point exception (in is_miss_rate_acceptable), target assigning alignent of 4 bits(!) to vector Date: Sun, 31 Mar 2024 08:26:38 +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: 9.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: 11.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc short_desc cf_known_to_fail 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=3D88309 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |willschm at gcc dot gnu.org Summary|ICE: Floating point |[11/12/13/14 Regression] |exception (in |ICE: Floating point |is_miss_rate_acceptable), |exception (in |target assigning alignent |is_miss_rate_acceptable), |of 4 bits(!) to vector |target assigning alignent | |of 4 bits(!) to vector Known to fail| |9.1.0 Target Milestone|--- |11.5 Known to work| |8.5.0 --- Comment #3 from Andrew Pinski --- Found it: /* In GIMPLE the type of the MEM_REF specifies the alignment. The required alignment (power) is 4 bytes regardless of data type. */ tree align_ltype =3D build_aligned_type (lhs_type, 4); That should be 4*8 instead of just 4. There are 2 build_aligned_type in rs6000-builtins.cc which uses the wrong alignment; thinking it was the alignment argument was bytes rather than bit= s. Introduced by r9-2375-g3f7a77cd20d07c which means this is a regression.=