[Bug tree-optimization/102796] [12 Regresson] ICE in useless_type_conversion_p at gcc/gimple-expr.c:87 since r12-4443-g93ac832f1846e4867aa6537f76f510fab8e3e87d
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102796 Andrew Macleod changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED|RESOLVED --- Comment #9 from Andrew Macleod --- Should be fixed.
[Bug tree-optimization/102796] [12 Regresson] ICE in useless_type_conversion_p at gcc/gimple-expr.c:87 since r12-4443-g93ac832f1846e4867aa6537f76f510fab8e3e87d
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102796 --- Comment #8 from CVS Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:4d92a69fc5882c86aab63d52382b393d4f20b3ed commit r12-4486-g4d92a69fc5882c86aab63d52382b393d4f20b3ed Author: Andrew MacLeod Date: Mon Oct 18 13:52:18 2021 -0400 Process EH edges again and call get_tree_range on non gimple_range_ssa_p names. PR tree-optimization/102796 gcc/ * gimple-range.cc (gimple_ranger::range_on_edge): Process EH edges normally. Return get_tree_range for non gimple_range_ssa_p names. (gimple_ranger::range_of_stmt): Use get_tree_range for non gimple_range_ssa_p names. gcc/testsuite/ * g++.dg/pr102796.C: New.
[Bug tree-optimization/102796] [12 Regresson] ICE in useless_type_conversion_p at gcc/gimple-expr.c:87 since r12-4443-g93ac832f1846e4867aa6537f76f510fab8e3e87d
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102796 --- Comment #7 from H.J. Lu --- (In reply to Andrew Macleod from comment #6) > Created attachment 51624 [details] > Allow EDGE_EH edges to be processed > > range_on_edge needs to continue processing EDGE_EH.. > See if this fixes all the problems. It results ina lot of UNDEFINED values > which caused no end of issues. > Its currently running through tests. If it works, please remove "or EH" from comments.
[Bug tree-optimization/102796] [12 Regresson] ICE in useless_type_conversion_p at gcc/gimple-expr.c:87 since r12-4443-g93ac832f1846e4867aa6537f76f510fab8e3e87d
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102796 Andrew Macleod changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |amacleod at redhat dot com --- Comment #6 from Andrew Macleod --- Created attachment 51624 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51624=edit Allow EDGE_EH edges to be processed range_on_edge needs to continue processing EDGE_EH.. See if this fixes all the problems. It results ina lot of UNDEFINED values which caused no end of issues. Its currently running through tests.
[Bug tree-optimization/102796] [12 Regresson] ICE in useless_type_conversion_p at gcc/gimple-expr.c:87 since r12-4443-g93ac832f1846e4867aa6537f76f510fab8e3e87d
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102796 Andrew Pinski changed: What|Removed |Added CC||unlvsur at live dot com --- Comment #5 from Andrew Pinski --- *** Bug 102813 has been marked as a duplicate of this bug. ***
[Bug tree-optimization/102796] [12 Regresson] ICE in useless_type_conversion_p at gcc/gimple-expr.c:87 since r12-4443-g93ac832f1846e4867aa6537f76f510fab8e3e87d
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102796 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment #4 from Christophe Lyon --- (In reply to H.J. Lu from comment #3) > On Linux/x86, it also caused: > > FAIL: 27_io/ios_base/failure/dual_abi.cc execution test Same on arm and aarch64
[Bug tree-optimization/102796] [12 Regresson] ICE in useless_type_conversion_p at gcc/gimple-expr.c:87 since r12-4443-g93ac832f1846e4867aa6537f76f510fab8e3e87d
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102796 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #3 from H.J. Lu --- On Linux/x86, it also caused: FAIL: 27_io/ios_base/failure/dual_abi.cc execution test
[Bug tree-optimization/102796] [12 Regresson] ICE in useless_type_conversion_p at gcc/gimple-expr.c:87 since r12-4443-g93ac832f1846e4867aa6537f76f510fab8e3e87d
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102796 --- Comment #2 from Martin Liška --- One more test-case can be seen here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102797#c2
[Bug tree-optimization/102796] [12 Regresson] ICE in useless_type_conversion_p at gcc/gimple-expr.c:87 since r12-4443-g93ac832f1846e4867aa6537f76f510fab8e3e87d
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102796 Martin Liška changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Comment #1 from Martin Liška --- *** Bug 102797 has been marked as a duplicate of this bug. ***
[Bug tree-optimization/102796] [12 Regresson] ICE in useless_type_conversion_p at gcc/gimple-expr.c:87 since r12-4443-g93ac832f1846e4867aa6537f76f510fab8e3e87d
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102796 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed||2021-10-16 Status|UNCONFIRMED |NEW Known to work||11.2.0 Known to fail||12.0 Target Milestone|--- |12.0 Priority|P3 |P1