diff options
| author | Joseph Myers <joseph@codesourcery.com> | 2009-04-01 15:41:06 +0100 |
|---|---|---|
| committer | Joseph Myers <jsm28@gcc.gnu.org> | 2009-04-01 15:41:06 +0100 |
| commit | 6ccb2a4a4bbd43dfbcf9ac56f0f0f7e614874f0c (patch) | |
| tree | 1b594cd6ac30f778bcb2ffce2d24267f82199988 /libcpp/include/cpplib.h | |
| parent | 299b87f8a21c1ae2611434529c8c4dfc4c291d95 (diff) | |
| download | gcc-6ccb2a4a4bbd43dfbcf9ac56f0f0f7e614874f0c.zip gcc-6ccb2a4a4bbd43dfbcf9ac56f0f0f7e614874f0c.tar.gz gcc-6ccb2a4a4bbd43dfbcf9ac56f0f0f7e614874f0c.tar.bz2 | |
re PR c/39605 ("error: variable-size type declared outside of any function" is issued twice)
PR c/39605
* c-decl.c (grokdeclarator): Pedwarn for file-scope array
declarator whose size is not an integer constant expression but
folds to an integer constant, then treat it as a constant
subsequently.
testsuite:
* gcc.dg/vla-17.c, gcc.dg/vla-18.c: New tests.
* gcc.dg/pr25682.c: Update expected diagnostics.
From-SVN: r145405
Diffstat (limited to 'libcpp/include/cpplib.h')
0 files changed, 0 insertions, 0 deletions
