aboutsummaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2014-10-17 21:02:54 +0000
committerMarek Polacek <mpolacek@gcc.gnu.org>2014-10-17 21:02:54 +0000
commit7278465e24b3d5a399ae2474f12870a91ba6af62 (patch)
treee31df103a9c2a703683c07fab2d8a2abd2dc0a27 /gcc/varasm.c
parentd83fa499b9895618ae8f63c004f3090b71d488ae (diff)
downloadgcc-7278465e24b3d5a399ae2474f12870a91ba6af62.zip
gcc-7278465e24b3d5a399ae2474f12870a91ba6af62.tar.gz
gcc-7278465e24b3d5a399ae2474f12870a91ba6af62.tar.bz2
re PR c/63567 (Linux kernel build error due to non-static initializers)
PR c/63567 * c-typeck.c (digest_init): Allow initializing objects with static storage duration with compound literals even in C99 and add pedwarn for it. * gcc.dg/pr61096-1.c: Change dg-error into dg-warning. * gcc.dg/pr63567-1.c: New test. * gcc.dg/pr63567-2.c: New test. From-SVN: r216416
Diffstat (limited to 'gcc/varasm.c')
0 files changed, 0 insertions, 0 deletions