https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83808
--- Comment #7 from Jason Merrill ---
Author: jason
Date: Thu Apr 5 17:17:11 2018
New Revision: 259138
URL: https://gcc.gnu.org/viewcvs?rev=259138&root=gcc&view=rev
Log:
PR c++/83808 - ICE with VLA initialization.
* typeck2.c (
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83808
Bug 83808 depends on bug 69487, which changed state.
Bug 69487 Summary: Unexpected VLA initialization of char[] from ""
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69487
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83808
Jason Merrill changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83808
Jakub Jelinek changed:
What|Removed |Added
Priority|P3 |P2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83808
Richard Biener changed:
What|Removed |Added
Target Milestone|7.3 |7.4
--- Comment #6 from Richard Biener
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83808
--- Comment #5 from Jakub Jelinek ---
Another case:
struct R { int r; };
void baz (char *, char *, char *, char *);
void
foo ()
{
const R a = { 12 };
char b[1][a.r] = { { "12345678901" } };
char c[a.r] = { "12345678901" };
char d[1][a.r
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83808
--- Comment #4 from Jakub Jelinek ---
--- gcc/cp/tree.c.jj2018-01-17 11:54:08.669802704 +0100
+++ gcc/cp/tree.c 2018-01-17 13:11:08.524278851 +0100
@@ -1044,11 +1044,14 @@ array_of_runtime_bound_p (tree t)
if (!t || TREE_CODE (t) !=
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83808
--- Comment #3 from Jakub Jelinek ---
Seems one of the issues is that array_of_runtime_bound_p only looks at the
toplevel array. Shall it look at all the nested ARRAY_TYPEs and return true if
any of them is of runtime bound? Or shall we have an
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83808
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #2
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83808
Richard Biener changed:
What|Removed |Added
Target Milestone|--- |7.3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83808
Martin Sebor changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
11 matches
Mail list logo