summaryrefslogtreecommitdiff
path: root/gcc/c/ChangeLog
diff options
context:
space:
mode:
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>2015-01-07 08:19:48 +0000
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>2015-01-07 08:19:48 +0000
commit15e18a8ca21478dce0d19e9e0fc1ef61fba9fac7 (patch)
treeac7198bcaff351ddad9f6145ef4bf9118f191c97 /gcc/c/ChangeLog
parent8b3283011c06121e3d5a53cfcfe57f681c87ba9d (diff)
downloadgcc-15e18a8ca21478dce0d19e9e0fc1ef61fba9fac7.tar.gz
PR c/64417
c/ * c-typeck.c (process_init_element): Disallow initialization of a flexible array member with a string constant if the structure is in an array. testsuite/ * gcc.c-torture/compile/pr28865.c: Add dg-errors. * gcc.dg/pr64417.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219278 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c/ChangeLog')
-rw-r--r--gcc/c/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index d6b228902f9..357d2c4d376 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,10 @@
+2015-01-07 Marek Polacek <polacek@redhat.com>
+
+ PR c/64417
+ * c-typeck.c (process_init_element): Disallow initialization of
+ a flexible array member with a string constant if the structure
+ is in an array.
+
2015-01-05 Jakub Jelinek <jakub@redhat.com>
PR sanitizer/64344