typeck2.c (digest_init_r): Use EXPR_LOC_OR_LOC on init.
commitacfadf066def1f73e4cb0a7bc4cd368165302fa2
authorPaolo Carlini <paolo.carlini@oracle.com>
Tue, 14 Jun 2016 14:15:53 +0000 (14 14:15 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 14 Jun 2016 14:15:53 +0000 (14 14:15 +0000)
tree27b84d9ad88b675b4c1274c0ef0d641a0728a6b0
parent4d568ab255e88918debfd75f010dfefa8f8d8738
typeck2.c (digest_init_r): Use EXPR_LOC_OR_LOC on init.

/cp
2016-06-14  Paolo Carlini  <paolo.carlini@oracle.com>

* typeck2.c (digest_init_r): Use EXPR_LOC_OR_LOC on init.

/testsuite
2016-06-14  Paolo Carlini  <paolo.carlini@oracle.com>

* g++.dg/init/array46.C: New.

From-SVN: r237444
gcc/cp/ChangeLog
gcc/cp/typeck2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/init/array46.C [new file with mode: 0644]