aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r--gcc/cp/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index dd6279a..93b05fa 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,11 @@
+2014-07-06 Marek Polacek <polacek@redhat.com>
+
+ PR c/6940
+ * cp-tree.h (DECL_ARRAY_PARAMETER_P): Define.
+ * decl.c (grokdeclarator): Set DECL_ARRAY_PARAMETER_P.
+ * typeck.c (cxx_sizeof_expr): Warn when using sizeof on an array
+ function parameter.
+
2014-07-02 Paolo Carlini <paolo.carlini@oracle.com>
* pt.c (convert_template_argument): Use inform instead of error in