]> git.ipfire.org Git - thirdparty/gcc.git/commit - libstdc++-v3/ChangeLog
Fix test failure when -fno-inline is used
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Jan 2019 18:56:26 +0000 (18:56 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Jan 2019 18:56:26 +0000 (18:56 +0000)
commite13f6a7f6f10caa5f6554a719f27109cbe39d70a
treed06630cea6eb089214fb247d1d2104675bcd4d48
parentaf7bbac6083fceb1c688e35b4a7f9c0f594ebd59
Fix test failure when -fno-inline is used

This currently checks _GLIBCXX_USE_DUAL_ABI which is incorrect, as that
can be true when _GLIBCXX_USE_CXX11_ABI == 0. The correct check would be
_GLIBCXX_USE_CXX11_ABI == 1, but that's made redundant by the cxx11-abi
effective target that the test requires. However, the test will fail if
-fno-inline is used, so check __NO_INLINE__ instead.

* testsuite/23_containers/list/61347.cc: Avoid spurious failure when
-fno-inline added to test flags.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@267582 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/23_containers/list/61347.cc