diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2018-08-15 11:45:44 +0000 |
---|---|---|
committer | Iain Sandoe <iains@gcc.gnu.org> | 2018-08-15 11:45:44 +0000 |
commit | 7273331429916a0c203b1064e0414c741c06a78f (patch) | |
tree | 85d44fb86970e37b0e74a8cfc826e11d25919208 /libcpp/line-map.c | |
parent | 05c1e87adbc09a2c90155d5d5d05cf866d39c9e2 (diff) | |
download | gcc-7273331429916a0c203b1064e0414c741c06a78f.zip gcc-7273331429916a0c203b1064e0414c741c06a78f.tar.gz gcc-7273331429916a0c203b1064e0414c741c06a78f.tar.bz2 |
Don't make unsized objects into extern.
2018-08-15 Iain Sandoe <iain@sandoe.co.uk>
gcc/c:
PR c/19315
* c-decl.c (finish_decl): Don't add the 'extern' storage class to
objects of unknown size.
gcc/testsuite:
PR c/19315
gcc.dg/graphite/pr82451.c: Make array 'a' an extern.
gcc.dg/redecl-10.c: Expect warnings for the static vars with unknown
size.
From-SVN: r263556
Diffstat (limited to 'libcpp/line-map.c')
0 files changed, 0 insertions, 0 deletions