diff options
author | kyukhin <kyukhin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-01 17:24:58 +0000 |
---|---|---|
committer | kyukhin <kyukhin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-01 17:24:58 +0000 |
commit | b25c649be56e19cc44776a70bfe2ca01e9b9e192 (patch) | |
tree | f1b03a0d54490b02fadaa29ad622890d9096b5a6 | |
parent | 44b0d1a58ddd5c7cdf429d89c62464c3cb302587 (diff) | |
download | ppe42-gcc-b25c649be56e19cc44776a70bfe2ca01e9b9e192.tar.gz ppe42-gcc-b25c649be56e19cc44776a70bfe2ca01e9b9e192.zip |
gcc/cp/
* cp-array-notation.c (expand_an_in_modify_expr): Fix the misprint
in error output.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@213496 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/cp-array-notation.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 793b7b089e1..cc00b011bfb 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,10 @@ 2014-08-01 Igor Zamyatin <igor.zamyatin@intel.com> + * cp-array-notation.c (expand_an_in_modify_expr): Fix the misprint + in error output. + +2014-08-01 Igor Zamyatin <igor.zamyatin@intel.com> + PR other/61963 * parser.c (cp_parser_array_notation): Added check for array_type. diff --git a/gcc/cp/cp-array-notation.c b/gcc/cp/cp-array-notation.c index 446485616ae..de9cc401249 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) |