On Linux/x86, revision 187023 http://gcc.gnu.org/ml/gcc-cvs/2012-05/msg00019.html caused: In file included from /export/gnu/import/git/gcc-regression/gcc-4_7-branch/187033/bld/x86_64-unknown-linux-gnu/libstdc++-v3/include/unordered_set:45:0,^M from /export/gnu/import/git/gcc-regression/gcc/libstdc++-v3/testsuite/23_containers/unordered_set/instantiation_neg.cc:24:^M /export/gnu/import/git/gcc-regression/gcc-4_7-branch/187033/bld/x86_64-unknown-linux-gnu/libstdc++-v3/include/bits/hashtable.h: In instantiation of 'class std::_Hashtable<int, int, std::allocator<int>, std::_Identity<int>, std::equal_to<int>, {anonymous}::hash_without_noexcept, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, false, true, true>':^M /export/gnu/import/git/gcc-regression/gcc-4_7-branch/187033/bld/x86_64-unknown-linux-gnu/libstdc++-v3/include/bits/unordered_set.h:47:11: required from 'class std::__unordered_set<int, {anonymous}::hash_without_noexcept, std::equal_to<int>, std::allocator<int>, false>'^M /export/gnu/import/git/gcc-regression/gcc/libstdc++-v3/testsuite/23_containers/unordered_set/instantiation_neg.cc:40:17: required from here^M /export/gnu/import/git/gcc-regression/gcc-4_7-branch/187033/bld/x86_64-unknown-linux-gnu/libstdc++-v3/include/bits/hashtable.h:186:7: error: static assertion failed: Cache the hash code or qualify your hash functor with noexcept^M compiler exited with status 1
It needs to update error line.
Author: paolo Date: Wed May 2 17:16:33 2012 New Revision: 187057 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187057 Log: 2012-05-02 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/53193 * testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust dg-error line number. Modified: branches/gcc-4_7-branch/libstdc++-v3/ChangeLog branches/gcc-4_7-branch/libstdc++-v3/testsuite/23_containers/unordered_set/instantiation_neg.cc
Fixed.