[Bug c++/65154] New: ICE with {} initialized array with string
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Feb 21 10:21:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65154
Bug ID: 65154
Summary: ICE with {} initialized array with string
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: pinskia at gcc dot gnu.org
Non-reduced unincluded testcase:
#include <string>
struct C {
std::string s;
};
int main() {
C cs[5]{};
}
--- CUT ---
t.cc: In function ‘int main()’:
t.cc:8:11: internal compiler error: in gimplify_init_constructor, at
gimplify.c:4109
C cs[5]{};
^
Please submit a full bug report,
with preprocessed source if appropriate.
More information about the Gcc-bugs
mailing list