diff options
author | mpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-01-05 12:03:57 +0000 |
---|---|---|
committer | mpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-01-05 12:03:57 +0000 |
commit | 92b638845d0564991c3ae8d739bc67e8d52b597d (patch) | |
tree | 75038e2677f4f5b9b1ff57bf2ea4050b56336f91 /gcc/testsuite/lib/scanrtl.exp | |
parent | 9d2adcd7a7441f6d0b34278827b0fb5641475417 (diff) | |
download | gcc-92b638845d0564991c3ae8d739bc67e8d52b597d.tar.gz |
PR c/64423
c-family/
* c-common.c (warn_array_subscript_with_type_char): Add location_t
parameter. Use it.
* c-common.h (warn_array_subscript_with_type_char): Update
declaration.
c/
* c-typeck.c (build_array_ref): Pass loc down to
warn_array_subscript_with_type_char.
cp/
* typeck.c (cp_build_array_ref): Pass loc down to
warn_array_subscript_with_type_char.
testsuite/
* gcc.dg/pr64423.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219186 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/lib/scanrtl.exp')
0 files changed, 0 insertions, 0 deletions