r267582 - in /trunk/libstdc++-v3: ChangeLog tes...

redi@gcc.gnu.org redi@gcc.gnu.org
Fri Jan 4 18:56:00 GMT 2019


Author: redi
Date: Fri Jan  4 18:56:26 2019
New Revision: 267582

URL: https://gcc.gnu.org/viewcvs?rev=267582&root=gcc&view=rev
Log:
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.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/testsuite/23_containers/list/61347.cc



More information about the Libstdc++-cvs mailing list