https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72775
--- Comment #15 from Marek Polacek ---
Author: mpolacek
Date: Wed Dec 14 20:41:43 2016
New Revision: 243669
URL: https://gcc.gnu.org/viewcvs?rev=243669=gcc=rev
Log:
PR c++/72775
* init.c (perform_member_init): Diagnose member
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72775
--- Comment #14 from Marek Polacek ---
I think you're right. I dropped the check and am regtesting this again.
Thanks!
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72775
Nathan Sidwell changed:
What|Removed |Added
CC||nathan at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72775
--- Comment #12 from Marek Polacek ---
(In reply to Matteo Bertello from comment #10)
> Just had the same internal compiler error on a different piece of code,
> using GCC 6.1.1 on Fedora 24.
> Might be useful to investigate the cause.
This
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72775
--- Comment #11 from Marek Polacek ---
This patch seems to disable initialization of a flexible array member in a
constructor, and, curiously, doesn't regress anything in C++ dg.exp.
--- a/gcc/cp/init.c
+++ b/gcc/cp/init.c
@@ -800,6 +800,11 @@
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72775
Matteo Bertello changed:
What|Removed |Added
CC||mbertello@feralinteractive.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72775
--- Comment #9 from Richard Biener ---
GCC 6.2 is being released, adjusting target milestone.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72775
--- Comment #8 from Richard Biener ---
GCC 6.2 is being released, adjusting target milestone.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72775
--- Comment #7 from Richard Biener ---
GCC 6.2 is being released, adjusting target milestone.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72775
Richard Biener changed:
What|Removed |Added
Target Milestone|6.2 |6.3
--- Comment #6 from Richard Biener
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72775
--- Comment #5 from Martin Sebor ---
Would it be possible to take the size of the in-class initialized flexible
array member into account when computing the size of the object to allocate?
That way the example in comment #0 could be accepted
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72775
Jason Merrill changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
--- Comment #4
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72775
Martin Sebor changed:
What|Removed |Added
CC||msebor at gcc dot gnu.org
--- Comment #3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72775
Richard Biener changed:
What|Removed |Added
Priority|P3 |P2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72775
Martin Liška changed:
What|Removed |Added
Keywords||ice-on-invalid-code
15 matches
Mail list logo