diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2018-03-27 06:52:04 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2018-03-27 06:52:04 +0000 |
commit | e278212eeea4f57d8478bf5c6be05fd7bdb2dc8e (patch) | |
tree | 62c90d8b8bc9300030a7e3c47be7ffb35d7c1441 /gcc/fortran/io.c | |
parent | 74d2d97382ddfec2fd51c6a90950cf29c3ba9fd5 (diff) | |
download | gcc-e278212eeea4f57d8478bf5c6be05fd7bdb2dc8e.zip gcc-e278212eeea4f57d8478bf5c6be05fd7bdb2dc8e.tar.gz gcc-e278212eeea4f57d8478bf5c6be05fd7bdb2dc8e.tar.bz2 |
re PR c++/84632 (internal compiler error: tree check: expected record_type or union_type or qual_union_type, have array_type in reduced_constant_expression_p, at cp/constexpr.c:1778)
/cp
2018-03-27 Paolo Carlini <paolo.carlini@oracle.com>
Jason Merrill <jason@redhat.com>
PR c++/84632
* init.c (build_aggr_init): When initializing from array,
reject anything but CONSTRUCTORs and TARGET_EXPRs.
(build_vec_init): Handle separately ARRAY_TYPEs.
/testsuite
2018-03-27 Paolo Carlini <paolo.carlini@oracle.com>
Jason Merrill <jason@redhat.com>
PR c++/84632
* g++.dg/init/array49.C: New.
* g++.dg/torture/pr70499.C: Adjust.
Co-Authored-By: Jason Merrill <jason@redhat.com>
From-SVN: r258870
Diffstat (limited to 'gcc/fortran/io.c')
0 files changed, 0 insertions, 0 deletions