diff options
author | Douglas Gregor <doug.gregor@gmail.com> | 2008-02-06 19:08:56 +0000 |
---|---|---|
committer | Doug Gregor <dgregor@gcc.gnu.org> | 2008-02-06 19:08:56 +0000 |
commit | e630b7a6a1baa734e0cb8c6ab6bf8f0aff00ffb5 (patch) | |
tree | a3f825174966bd36ad0b28890e4210fccbbdf871 /gcc | |
parent | f73d1d82a83b14aefbd0cb6bda617c42b49d4b15 (diff) | |
download | gcc-e630b7a6a1baa734e0cb8c6ab6bf8f0aff00ffb5.zip gcc-e630b7a6a1baa734e0cb8c6ab6bf8f0aff00ffb5.tar.gz gcc-e630b7a6a1baa734e0cb8c6ab6bf8f0aff00ffb5.tar.bz2 |
vector13.C: Fix for compilation under -pedantic.
2008-02-06 Douglas Gregor <doug.gregor@gmail.com>
* g++.dg/ext/vector13.C: Fix for compilation under -pedantic.
From-SVN: r132154
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/ext/vector13.C | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index bf72393..b54aea9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2008-02-06 Douglas Gregor <doug.gregor@gmail.com> + * g++.dg/ext/vector13.C: Fix for compilation under -pedantic. + +2008-02-06 Douglas Gregor <doug.gregor@gmail.com> + PR c++/35049 PR c++/35096 * g++.dg/ext/vector13.C: New. diff --git a/gcc/testsuite/g++.dg/ext/vector13.C b/gcc/testsuite/g++.dg/ext/vector13.C index c1db06f..5160f11 100644 --- a/gcc/testsuite/g++.dg/ext/vector13.C +++ b/gcc/testsuite/g++.dg/ext/vector13.C @@ -3,4 +3,4 @@ typedef const int X __attribute((vector_size(8))); extern const int x[] __attribute((vector_size(8))); -X x[] = {}; +X x[] = { 5 }; |