diff options
author | Marek Polacek <polacek@redhat.com> | 2014-05-02 18:13:43 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2014-05-02 18:13:43 +0000 |
commit | a0e24419cfc3b66a642d00fa7a13b147a8c57c2e (patch) | |
tree | 96bc1e7d8e5757f56500c47af2b25e01bd148229 /gcc/cp/lambda.c | |
parent | 19fc9faaaf98b3c45ede31da2e3cb970ef7b372a (diff) | |
download | gcc-a0e24419cfc3b66a642d00fa7a13b147a8c57c2e.zip gcc-a0e24419cfc3b66a642d00fa7a13b147a8c57c2e.tar.gz gcc-a0e24419cfc3b66a642d00fa7a13b147a8c57c2e.tar.bz2 |
re PR c/25801 (bad diagnostic for increment/decrement of pointer to incomplete array)
PR c/25801
* c-typeck.c (c_size_in_bytes): Update comment. Don't call error.
Return size_one_node when the type is not complete.
(pointer_diff): Remove comment.
(build_unary_op): Improve error messages.
* gcc.dg/pr25801.c: New test.
From-SVN: r210013
Diffstat (limited to 'gcc/cp/lambda.c')
0 files changed, 0 insertions, 0 deletions