diff options
author | Igor Zamyatin <igor.zamyatin@intel.com> | 2014-08-01 17:23:40 +0000 |
---|---|---|
committer | Kirill Yukhin <kyukhin@gcc.gnu.org> | 2014-08-01 17:23:40 +0000 |
commit | fba8a9e3f6e6e6347c7f31b65b094c8d4742a65f (patch) | |
tree | 92e4992da3fedafe44c2ab673d9c0283671606a5 /gcc/cp/cp-array-notation.c | |
parent | ffebf50f2f1654dea65d934fd9ad27408ea65434 (diff) | |
download | gcc-fba8a9e3f6e6e6347c7f31b65b094c8d4742a65f.zip gcc-fba8a9e3f6e6e6347c7f31b65b094c8d4742a65f.tar.gz gcc-fba8a9e3f6e6e6347c7f31b65b094c8d4742a65f.tar.bz2 |
cp-array-notation.c (expand_an_in_modify_expr): Fix the misprint in error output.
gcc/cp/
* cp-array-notation.c (expand_an_in_modify_expr): Fix the misprint
in error output.
From-SVN: r213495
Diffstat (limited to 'gcc/cp/cp-array-notation.c')
-rw-r--r-- | gcc/cp/cp-array-notation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/cp-array-notation.c b/gcc/cp/cp-array-notation.c index 31253ff..6b910fc 100644 --- a/gcc/cp/cp-array-notation.c +++ b/gcc/cp/cp-array-notation.c @@ -607,7 +607,7 @@ expand_an_in_modify_expr (location_t location, tree lhs, if (lhs_rank == 0 && rhs_rank != 0) { - error_at (location, "%qD cannot be scalar when %qD is not", lhs, rhs); + error_at (location, "%qE cannot be scalar when %qE is not", lhs, rhs); return error_mark_node; } if (lhs_rank != 0 && rhs_rank != 0 && lhs_rank != rhs_rank) |