From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 276EF385840C; Sun, 13 Feb 2022 22:13:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 276EF385840C From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/104522] ICE: in real_to_decimal_for_mode with -O -fdump-tree-all-details and long double Date: Sun, 13 Feb 2022 22:13:00 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 12.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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc cf_known_to_fail 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Feb 2022 22:13:00 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D104522 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|ICE: in |ICE: in |real_to_decimal_for_mode |real_to_decimal_for_mode |with -O |with -O |-fdump-tree-all-details and |-fdump-tree-all-details and |_Float64x |long double Known to fail| |4.4.7 --- Comment #2 from Andrew Pinski --- Here is a better testcase which shows the issue all the way back to at least 4.4.7: typedef short __attribute__((__vector_size__(16))) V; long double t1; void foo(void) { V t=3D{1024>>1, 0, 0, 0, 32768>>1}; long double tt =3D *(long double*)&t; t1 /=3D tt; }=