[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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112831 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |DUPLICATE --- Comment #5 from Richard Biener --- dup *** This bug has been marked as a duplicate of bug 112827 ***
[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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112831 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org --- Comment #4 from Richard Biener --- Dup of that other bug I guess.
[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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112831 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 = 0; for (; b <= 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
[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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112831 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Target||x86_64-linux-gnu Summary|ICE: tree check: expected |[14 Regression] ICE: tree |class 'type', have |check: expected class |'exceptional' (error_mark) |'type', have 'exceptional' |in |(error_mark) in |type_has_mode_precision_p, |type_has_mode_precision_p, |at tree.h:6767 |at tree.h:6767 Target Milestone|--- |14.0