Bug 53193 - [4.7 Regression] 23_containers/unordered_set/instantiation_neg.cc
Summary: [4.7 Regression] 23_containers/unordered_set/instantiation_neg.cc
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: libstdc++ (show other bugs)
Version: 4.7.1
: P3 normal
Target Milestone: 4.7.1
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-02 16:22 UTC by H.J. Lu
Modified: 2012-05-02 17:17 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H.J. Lu 2012-05-02 16:22:02 UTC
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
Comment 1 H.J. Lu 2012-05-02 16:33:11 UTC
It needs to update error line.
Comment 2 paolo@gcc.gnu.org 2012-05-02 17:16:43 UTC
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
Comment 3 Paolo Carlini 2012-05-02 17:17:42 UTC
Fixed.