public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/62127] New: [5.0 Regression] ICE with VLA in constructor
@ 2014-08-13 19:40 reichelt at gcc dot gnu.org
2014-08-13 19:41 ` [Bug c++/62127] " reichelt at gcc dot gnu.org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: reichelt at gcc dot gnu.org @ 2014-08-13 19:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62127
Bug ID: 62127
Summary: [5.0 Regression] ICE with VLA in constructor
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: reichelt at gcc dot gnu.org
The following valid code snippet triggers an ICE on trunk:
==================
struct A
{
A(int);
};
A::A(int i)
{
int x[1][i];
x[0][0] = 0;
}
==================
bug.cc: In constructor 'A::A(int)':
bug.cc:6:1: internal compiler error: in execute, at cfgexpand.c:5731
A::A(int i)
^
0x83a0b3 execute
../../gcc/gcc/cfgexpand.c:5731
Please submit a full bug report, [etc.]
The regression was introduced in June between 2014-06-12 and 2014-06-29.
This is actually the first part of the testcase from g++.dg/ext/vla1.C
compiled without "-pedantic-errors" (see PR6994).
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/62127] [5.0 Regression] ICE with VLA in constructor
2014-08-13 19:40 [Bug c++/62127] New: [5.0 Regression] ICE with VLA in constructor reichelt at gcc dot gnu.org
@ 2014-08-13 19:41 ` reichelt at gcc dot gnu.org
2014-08-14 9:19 ` mpolacek at gcc dot gnu.org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: reichelt at gcc dot gnu.org @ 2014-08-13 19:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62127
Volker Reichelt <reichelt at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |4.7.0, 4.8.0, 4.9.0
Target Milestone|--- |5.0
Known to fail| |5.0
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/62127] [5.0 Regression] ICE with VLA in constructor
2014-08-13 19:40 [Bug c++/62127] New: [5.0 Regression] ICE with VLA in constructor reichelt at gcc dot gnu.org
2014-08-13 19:41 ` [Bug c++/62127] " reichelt at gcc dot gnu.org
@ 2014-08-14 9:19 ` mpolacek at gcc dot gnu.org
2014-10-12 1:11 ` [Bug c++/62127] [5 " jason at gcc dot gnu.org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2014-08-14 9:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62127
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-08-14
CC| |hubicka at gcc dot gnu.org,
| |mpolacek at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Started with r212111.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/62127] [5 Regression] ICE with VLA in constructor
2014-08-13 19:40 [Bug c++/62127] New: [5.0 Regression] ICE with VLA in constructor reichelt at gcc dot gnu.org
2014-08-13 19:41 ` [Bug c++/62127] " reichelt at gcc dot gnu.org
2014-08-14 9:19 ` mpolacek at gcc dot gnu.org
@ 2014-10-12 1:11 ` jason at gcc dot gnu.org
2014-10-13 8:42 ` hubicka at gcc dot gnu.org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: jason at gcc dot gnu.org @ 2014-10-12 1:11 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62127
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |larsbj at gullik dot net
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
*** Bug 61678 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/62127] [5 Regression] ICE with VLA in constructor
2014-08-13 19:40 [Bug c++/62127] New: [5.0 Regression] ICE with VLA in constructor reichelt at gcc dot gnu.org
` (2 preceding siblings ...)
2014-10-12 1:11 ` [Bug c++/62127] [5 " jason at gcc dot gnu.org
@ 2014-10-13 8:42 ` hubicka at gcc dot gnu.org
2014-10-13 14:44 ` hubicka at gcc dot gnu.org
2014-10-13 14:46 ` hubicka at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: hubicka at gcc dot gnu.org @ 2014-10-13 8:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62127
Jan Hubicka <hubicka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |hubicka at gcc dot gnu.org
--- Comment #3 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Mine
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/62127] [5 Regression] ICE with VLA in constructor
2014-08-13 19:40 [Bug c++/62127] New: [5.0 Regression] ICE with VLA in constructor reichelt at gcc dot gnu.org
` (3 preceding siblings ...)
2014-10-13 8:42 ` hubicka at gcc dot gnu.org
@ 2014-10-13 14:44 ` hubicka at gcc dot gnu.org
2014-10-13 14:46 ` hubicka at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: hubicka at gcc dot gnu.org @ 2014-10-13 14:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62127
--- Comment #5 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Author: hubicka
Date: Mon Oct 13 14:43:24 2014
New Revision: 216150
URL: https://gcc.gnu.org/viewcvs?rev=216150&root=gcc&view=rev
Log:
PR tree-optimization/62127
* g++.dg/torture/pr62127.C: New testcase.
* tree.c (remap_type_1): When remapping array, remap
also its type.
Added:
trunk/gcc/testsuite/g++.dg/torture/pr62127.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-inline.c
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/62127] [5 Regression] ICE with VLA in constructor
2014-08-13 19:40 [Bug c++/62127] New: [5.0 Regression] ICE with VLA in constructor reichelt at gcc dot gnu.org
` (4 preceding siblings ...)
2014-10-13 14:44 ` hubicka at gcc dot gnu.org
@ 2014-10-13 14:46 ` hubicka at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: hubicka at gcc dot gnu.org @ 2014-10-13 14:46 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62127
Jan Hubicka <hubicka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #6 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-10-13 14:46 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-13 19:40 [Bug c++/62127] New: [5.0 Regression] ICE with VLA in constructor reichelt at gcc dot gnu.org
2014-08-13 19:41 ` [Bug c++/62127] " reichelt at gcc dot gnu.org
2014-08-14 9:19 ` mpolacek at gcc dot gnu.org
2014-10-12 1:11 ` [Bug c++/62127] [5 " jason at gcc dot gnu.org
2014-10-13 8:42 ` hubicka at gcc dot gnu.org
2014-10-13 14:44 ` hubicka at gcc dot gnu.org
2014-10-13 14:46 ` hubicka at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).