[Bug tree-optimization/101162] [12 Regression] ICE (verify_gimple failed) for switch returning pointer-to-members since r12-1608

2021-06-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101162 --- Comment #2 from Andrew Pinski --- I was just about to assign this to myself as I had just came up with a fix: diff --git a/gcc/fold-const.c b/gcc/fold-const.c index 85e90f42b8e..5e4bdeace1e 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.

[Bug tree-optimization/101162] [12 Regression] ICE (verify_gimple failed) for switch returning pointer-to-members since r12-1608

2021-06-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101162 --- Comment #3 from Jakub Jelinek --- Created attachment 51046 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51046&action=edit gcc12-pr101162.patch Untested fix.

[Bug tree-optimization/101162] [12 Regression] ICE (verify_gimple failed) for switch returning pointer-to-members since r12-1608

2021-06-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101162 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #4

[Bug tree-optimization/101162] [12 Regression] ICE (verify_gimple failed) for switch returning pointer-to-members since r12-1608

2021-06-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101162 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:92d9c9e705f039f42734139c233202888d2bf01b commit r12-1726-g92d9c9e705f039f42734139c233202888d2bf01b Author: Jakub Jelinek Date: T

[Bug tree-optimization/101162] [12 Regression] ICE (verify_gimple failed) for switch returning pointer-to-members since r12-1608

2021-07-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101162 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---