]> git.ipfire.org Git - thirdparty/gcc.git/commit
Add missing function in 20_util/exchange/1.cc.
authordnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Oct 2013 18:51:37 +0000 (18:51 +0000)
committerdnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Oct 2013 18:51:37 +0000 (18:51 +0000)
commit0d19a5ce118b87ce8e5d7c082be3e17c4834f3c9
tree76551f1ee05f51bbc7792449de48c0b51a1151e1
parent89432048ddafc90e67e5d1377285bfd379d8f0e9
Add missing function in 20_util/exchange/1.cc.

When this test is compiled at -O0, the compiler does not remove the
address comparison. This causes a link failure, since the body of f()
is missing.

* testsuite/20_util/exchange/1.cc: Add missing function
bodies.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203629 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/20_util/exchange/1.cc