diff options
author | Marek Polacek <polacek@redhat.com> | 2014-10-19 16:47:35 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2014-10-19 16:47:35 +0000 |
commit | 4435bb9232cf3a3ab015f7bc0f8dbe562bd8e0c8 (patch) | |
tree | ea2bf947f9fb2a51c3da0346c6c1a18b7d9ff357 /gcc/varasm.c | |
parent | f4b0b1e3bb4dd4d89efdee99b5d032302a5f4717 (diff) | |
download | gcc-4435bb9232cf3a3ab015f7bc0f8dbe562bd8e0c8.zip gcc-4435bb9232cf3a3ab015f7bc0f8dbe562bd8e0c8.tar.gz gcc-4435bb9232cf3a3ab015f7bc0f8dbe562bd8e0c8.tar.bz2 |
re PR c/63567 (Linux kernel build error due to non-static initializers)
PR c/63567
* c-typeck.c (output_init_element): Allow initializing objects with
static storage duration with compound literals even in C99 and add
pedwarn for it.
* gcc.dg/pr63567-3.c: New test.
* gcc.dg/pr63567-4.c: New test.
From-SVN: r216440
Diffstat (limited to 'gcc/varasm.c')
0 files changed, 0 insertions, 0 deletions