]> gcc.gnu.org Git - gcc.git/commit
Fix test failure when -fno-inline is used
authorJonathan Wakely <jwakely@redhat.com>
Fri, 4 Jan 2019 18:56:26 +0000 (18:56 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 4 Jan 2019 18:56:26 +0000 (18:56 +0000)
commit6908c1dc6fc8d377ba80f12b7889e7872505cbb0
treed06630cea6eb089214fb247d1d2104675bcd4d48
parent35a5722c7b3938cf26a03aed4c5387f550d8ac3e
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.

From-SVN: r267582
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/23_containers/list/61347.cc
This page took 0.074306 seconds and 5 git commands to generate.