]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Add explicit -std=gnu++17 option to test
authorJonathan Wakely <jwakely@redhat.com>
Mon, 14 Jun 2021 12:17:40 +0000 (13:17 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Mon, 14 Jun 2021 13:09:07 +0000 (14:09 +0100)
commit2280fbfa465b2d7fe890e9a7b916ffa2eff5b934
tree655f0226eaa21b9146bbd522c5230d3038bde00c
parentc4f1bbed3d0184955d39adf0be287667891baf83
libstdc++: Add explicit -std=gnu++17 option to test

This test has no -std option so when the testsuite is run with
-std=gnu++20 or later, this test will use that. The recent addition of
no_unique_address will cause it to FAIL, because that's a reserved word
after C++17. Add an explicit option, so that this test alays uses
exactly C++17.

libstdc++-v3/ChangeLog:

* testsuite/17_intro/headers/c++2017/all_attributes.cc: Add
-std=gnu++17 option.

(cherry picked from commit 45fb3d45a4d4b79a00c56fa93e9e69d9d7762ca0)
libstdc++-v3/testsuite/17_intro/headers/c++2017/all_attributes.cc