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
Showing
gcc/testsuite/gcc.dg/pr25801.c
0 → 100644
Please
register
or
sign in
to comment