This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/53067] New: c++0x GCC 4.7.0 Regression std::ref with unordered sets
- From: "cmaloney at tagged dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 22 Apr 2012 01:08:42 +0000
- Subject: [Bug c++/53067] New: c++0x GCC 4.7.0 Regression std::ref with unordered sets
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53067
Bug #: 53067
Summary: c++0x GCC 4.7.0 Regression std::ref with unordered
sets
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: cmaloney@tagged.com
Building the following code with gcc4.7 snapshot 20120421 fails, but passed
with gcc4.6.
$g++ -std=c++11
#include <functional>
#include <unordered_set>
int main(int, char**){
std::unordered_map<int> Foo;
ref(Foo);
}