From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DBF9C3858C39; Sun, 3 Dec 2023 21:29:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DBF9C3858C39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1701638943; bh=KhAzUIFTyspmYFn0moSxr2PQqGw2/+Bzye1Wdsitgh0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=dCuoWtG+qNKp6Vw6Xo6aoC57dpf0cFrCvhWiSL2t+dvH4xkK87MetPE04x1CO32LO 3WzkjIH52PYdYryYIvjmi/0j3OHXPm6AjVB3RlTcIpLPWWdWtuVojqirQtYA+sUKdm T2HMRWW9CaC+VlosCHY2JfmbeDbhHlBM3vlmxUZM= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/112831] [14 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in type_has_mode_precision_p, at tree.h:6767 Date: Sun, 03 Dec 2023 21:29:03 +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: 14.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: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: everconfirmed bug_status cf_reconfirmed_on 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=3D112831 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Last reconfirmed| |2023-12-03 --- Comment #3 from Andrew Pinski --- Confirmed, reduced slightly more: ``` int a, b; char c; void e() { for (; c; c++) { int t; b =3D 0; for (; b <=3D 7; b++) ; for (; (short)(t + b) + a; a++) ; } } ``` 0x1ace576 generic_simplify_CONVERT_EXPR(unsigned int, tree_code, tree_node*, tree_node*) ???:0 0x1042d3f fold_unary_loc(unsigned int, tree_code, tree_node*, tree_node*) ???:0 0x10443cc fold_build1_loc(unsigned int, tree_code, tree_node*, tree_node*) ???:0 0x1529c9d analyze_scalar_evolution(loop*, tree_node*) ???:0 0x15e5575 estimate_numbers_of_iterations(loop*) ???:0 0x15e83b9 scev_probably_wraps_p(tree_node*, tree_node*, tree_node*, gimple*, loop*, bool) ???:0=