From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 11D5E3858CDB; Sat, 18 May 2024 13:27:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 11D5E3858CDB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1716038830; bh=F5DPBZR4r3/Q+xYKx1bxCc1foTJTHjP5laLxJBeeCSg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=UdgU/4xThoirjTx9i7nmAtrFa6cX+PtlGPXxSzjWKw3CdSRjGTl+GQ7f9VsQZI4oQ iA7p9zTHS5PGqQKxXBnntE/0Vsva71EGwTyd0ouwYlulUoLAh5qYSzx51/83O71o7l dEQlbrU6687REZAMfLKbzy3txFw1chDLtimHKvow= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/115143] [11/12/13/14/15 Regression] tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at gimple-expr.cc:85 Date: Sat, 18 May 2024 13:27:09 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 15.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: blocker X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pinskia at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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=3D115143 --- Comment #5 from Andrew Pinski --- Note this is a latent bug that dates back to r0-66475-g8eaa0f34a3387d (GCC 4.1.0) Note also r13-1950-g9bb19e143cfe88 introduced the similar bug too. Basically there needs a check for no phi nodes in the middle bb's.=