diff options
| author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-20 20:31:52 +0000 |
|---|---|---|
| committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-20 20:31:52 +0000 |
| commit | 20931c08f468f8239334ec3d938e7554a8819998 (patch) | |
| tree | 744160b47cb98a4ccacd021c089dc864bfb2cedd /libjava/gnu/java/nio/ServerSocketChannelImpl.java | |
| parent | bb30f677e665bca25e979d13b23a9fc83c83d883 (diff) | |
| download | ppe42-gcc-20931c08f468f8239334ec3d938e7554a8819998.tar.gz ppe42-gcc-20931c08f468f8239334ec3d938e7554a8819998.zip | |
* c-typeck.c (build_array_ref): Don't check for index == 0. Make
checks for neither argument being an array or pointer (swapping
the arguments if necessary), the array argument being a pointer to
or array of functions and for -Wchar-subscripts warnings upfront.
testsuite:
* gcc.dg/Wchar-subscripts-1.c, gcc.dg/array-8.c: New tests.
* gcc.dg/pointer-arith-1.c, gcc.dg/pointer-arith-2.c,
gcc.dg/pointer-arith-3.c, gcc.dg/pointer-arith-4.c: Update
expected diagnostics.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90969 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gnu/java/nio/ServerSocketChannelImpl.java')
0 files changed, 0 insertions, 0 deletions

