summaryrefslogtreecommitdiff
path: root/gcc/c/ChangeLog
diff options
context:
space:
mode:
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>2015-01-05 12:03:57 +0000
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>2015-01-05 12:03:57 +0000
commit92b638845d0564991c3ae8d739bc67e8d52b597d (patch)
tree75038e2677f4f5b9b1ff57bf2ea4050b56336f91 /gcc/c/ChangeLog
parent9d2adcd7a7441f6d0b34278827b0fb5641475417 (diff)
downloadgcc-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/c/ChangeLog')
-rw-r--r--gcc/c/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index 1661747d604..7a0eda0dcef 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,9 @@
+2015-01-05 Marek Polacek <polacek@redhat.com>
+
+ PR c/64423
+ * c-typeck.c (build_array_ref): Pass loc down to
+ warn_array_subscript_with_type_char.
+
2014-12-20 Martin Uecker <uecker@eecs.berkeley.edu>
* c-typeck.c: New behavious for pointers to arrays with qualifiers