https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89083
--- Comment #8 from Marek Polacek ---
Author: mpolacek
Date: Tue Feb 5 18:57:26 2019
New Revision: 268555
URL: https://gcc.gnu.org/viewcvs?rev=268555=gcc=rev
Log:
PR c++/89083, c++/80864 - ICE with list initialization in template.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89083
Jakub Jelinek changed:
What|Removed |Added
CC||h2+bugs at fsfe dot org
--- Comment #7
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89083
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89083
--- Comment #5 from Marek Polacek ---
Author: mpolacek
Date: Thu Jan 31 20:21:11 2019
New Revision: 268428
URL: https://gcc.gnu.org/viewcvs?rev=268428=gcc=rev
Log:
PR c++/89083, c++/80864 - ICE with list initialization in template.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89083
--- Comment #4 from Marek Polacek ---
Or perhaps we're just forgetting to set TREE_HAS_CONSTRUCTOR. To be
investigated tomorrow.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89083
--- Comment #3 from Marek Polacek ---
Untested patch:
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -6166,6 +6166,8 @@ reshape_init_r (tree type, reshape_iter *d, bool
first_initializer_p,
before calling digest_init, so changing this code
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89083
--- Comment #2 from Marek Polacek ---
I think the fix will be same as for PR80864, maybe along the lines of not
reshaping an already reshaped init. I think r268321 more of less uncovered a
latent problem.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89083
Marek Polacek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89083
Jakub Jelinek changed:
What|Removed |Added
Priority|P3 |P1
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89083
Richard Biener changed:
What|Removed |Added
Target Milestone|--- |9.0
10 matches
Mail list logo