aboutsummaryrefslogtreecommitdiff
path: root/gcc/c/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c/ChangeLog')
-rw-r--r--gcc/c/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index 9399053..96c5823 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,11 @@
+2015-11-20 David Malcolm <dmalcolm@redhat.com>
+
+ PR 62314
+ * c-typeck.c (should_suggest_deref_p): New function.
+ (build_component_ref): Special-case POINTER_TYPE when
+ generating a "not a structure of union" error message, and
+ suggest a "->" rather than a ".", providing a fix-it hint.
+
2015-11-19 David Malcolm <dmalcolm@redhat.com>
* c-typeck.c (lookup_field_fuzzy): Move determination of closest