[Bug c++/92201] [9/10 Regression] ICE: ‘verify_gimple’ failed with -std=c++2a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92201 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Thu Nov 21 17:14:25 2019 New Revision: 278579 URL: https://gcc.gnu.org/viewcvs?rev=278579=gcc=rev Log: Backported from mainline 2019-10-29 Jakub Jelinek PR c++/92201 * cp-gimplify.c (cp_gimplify_expr): If gimplify_to_rvalue changes the function pointer type, re-add cast to the original one. * g++.dg/other/pr92201.C: New test. Added: branches/gcc-8-branch/gcc/testsuite/g++.dg/other/pr92201.C Modified: branches/gcc-8-branch/gcc/cp/ChangeLog branches/gcc-8-branch/gcc/cp/cp-gimplify.c branches/gcc-8-branch/gcc/testsuite/ChangeLog
[Bug c++/92201] [9/10 Regression] ICE: ‘verify_gimple’ failed with -std=c++2a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92201 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #6 from Jakub Jelinek --- Should be fixed now.
[Bug c++/92201] [9/10 Regression] ICE: ‘verify_gimple’ failed with -std=c++2a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92201 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Tue Oct 29 21:09:21 2019 New Revision: 277594 URL: https://gcc.gnu.org/viewcvs?rev=277594=gcc=rev Log: PR c++/92201 * cp-gimplify.c (cp_gimplify_expr): If gimplify_to_rvalue changes the function pointer type, re-add cast to the original one. * g++.dg/other/pr92201.C: New test. Added: branches/gcc-9-branch/gcc/testsuite/g++.dg/other/pr92201.C Modified: branches/gcc-9-branch/gcc/cp/ChangeLog branches/gcc-9-branch/gcc/cp/cp-gimplify.c branches/gcc-9-branch/gcc/testsuite/ChangeLog
[Bug c++/92201] [9/10 Regression] ICE: ‘verify_gimple’ failed with -std=c++2a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92201 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Tue Oct 29 20:58:47 2019 New Revision: 277592 URL: https://gcc.gnu.org/viewcvs?rev=277592=gcc=rev Log: PR c++/92201 * cp-gimplify.c (cp_gimplify_expr): If gimplify_to_rvalue changes the function pointer type, re-add cast to the original one. * g++.dg/other/pr92201.C: New test. Added: trunk/gcc/testsuite/g++.dg/other/pr92201.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/cp-gimplify.c trunk/gcc/testsuite/ChangeLog