[Bug d/94970] d: internal compiler error: in verify_gimple_stmt, at tree-cfg.c:4959

2020-05-17 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94970 Iain Buclaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug d/94970] d: internal compiler error: in verify_gimple_stmt, at tree-cfg.c:4959

2020-05-17 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94970 --- Comment #7 from CVS Commits --- The releases/gcc-9 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:80cefde6212c3de603dda46d05123a750b378ff2 commit r9-8601-g80cefde6212c3de603dda46d05123a750b378ff2 Author: Iain Buclaw Date:

[Bug d/94970] d: internal compiler error: in verify_gimple_stmt, at tree-cfg.c:4959

2020-05-17 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94970 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:79f2ae6ecffbef5c1f78459f6980e0f91121022d commit r10-8149-g79f2ae6ecffbef5c1f78459f6980e0f91121022d Author: Iain Buclaw

[Bug d/94970] d: internal compiler error: in verify_gimple_stmt, at tree-cfg.c:4959

2020-05-06 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94970 --- Comment #5 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:0af711e1914ab6d88538f1fcf0146757b5608b1d commit r11-154-g0af711e1914ab6d88538f1fcf0146757b5608b1d Author: Iain Buclaw Date: Wed

[Bug d/94970] d: internal compiler error: in verify_gimple_stmt, at tree-cfg.c:4959

2020-05-06 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94970 --- Comment #4 from Iain Buclaw --- (In reply to Iain Buclaw from comment #3) > Somewhat simplified reduction of test that doesn't depend on operator > overloading. > > struct RegexMatch > { > string index() { return null; } > ~this() {

[Bug d/94970] d: internal compiler error: in verify_gimple_stmt, at tree-cfg.c:4959

2020-05-06 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94970 --- Comment #3 from Iain Buclaw --- Somewhat simplified reduction of test that doesn't depend on operator overloading. struct RegexMatch { string index() { return null; } ~this() { } } auto m() { return RegexMatch(); } void

[Bug d/94970] d: internal compiler error: in verify_gimple_stmt, at tree-cfg.c:4959

2020-05-06 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94970 --- Comment #2 from Iain Buclaw --- Because RegexMatch needs destruction, a temporary is created that requires scope destruction. The temporary is wrapped in a TARGET_EXPR, and dtor call set in TARGET_EXPR_CLEANUP. TARGET_EXPR A clean-up

[Bug d/94970] d: internal compiler error: in verify_gimple_stmt, at tree-cfg.c:4959

2020-05-06 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94970 --- Comment #1 from Iain Buclaw --- The statement it is balking on is GIMPLE_WITH_CLEANUP_EXPR.