asm3.C (two): Only use register keyword for C++14 and earlier.
authorJakub Jelinek <jakub@redhat.com>
Sun, 2 Oct 2016 19:32:45 +0000 (21:32 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sun, 2 Oct 2016 19:32:45 +0000 (21:32 +0200)
commit2c8e3a1d9996d8e1859af476d97655aad5368eff
treee1aa18376697bc9c95a64ba6bc76534d99edf764
parent333b2f3146be914cdf791e542bef5584671a839c
asm3.C (two): Only use register keyword for C++14 and earlier.

* g++.dg/ext/asm3.C (two): Only use register keyword for C++14 and
earlier.
* g++.dg/charset/asm2.c (memmove): Likewise.
* g++.dg/tls/diag-2.C (foo): Expect -Wregister error for C++17.
* g++.dg/tls/diag-4.C (foo): Likewise.
* c-c++-common/vector-subscript-2.c (vf): Change dg-error to
dg-warning, fix up regex.
* g++.old-deja/g++.brendan/warnings4.C: Limit to c++14_down targets.
* g++.old-deja/g++.mike/p700.C: Add -Wno-register.
* g++.old-deja/g++.mike/net31.C: Likewise.
* g++.old-deja/g++.other/regstack.C (foo): Expect -Wregister warning
for C++17.
* g++.old-deja/g++.jason/enum3.C: Add -Wno-register.
* g++.old-deja/g++.eh/ia64-1.C: Likewise.

From-SVN: r240702
12 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/vector-subscript-2.c
gcc/testsuite/g++.dg/charset/asm2.c
gcc/testsuite/g++.dg/ext/asm3.C
gcc/testsuite/g++.dg/tls/diag-2.C
gcc/testsuite/g++.dg/tls/diag-4.C
gcc/testsuite/g++.old-deja/g++.brendan/warnings4.C
gcc/testsuite/g++.old-deja/g++.eh/ia64-1.C
gcc/testsuite/g++.old-deja/g++.jason/enum3.C
gcc/testsuite/g++.old-deja/g++.mike/net31.C
gcc/testsuite/g++.old-deja/g++.mike/p700.C
gcc/testsuite/g++.old-deja/g++.other/regstack.C