This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/53067] New: c++0x GCC 4.7.0 Regression std::ref with unordered sets


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);
}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]