http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49253
Summary: [4.7 Regression] Debug-mode forward_list broken Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: paolo.carl...@oracle.com Something changed either in the front-end or the middle end over the next couple of days which broke the debug-mode forward_list, like this: ...debug/forward_list:650:25: error: request for member ‘__gnu_debug::_Safe_iterator_base::_M_prior’ in ‘__rhs_iterators->’, which is of non-class type ‘__gnu_debug::_Safe_iterator_base*’ To reproduce just compile, with -std=c++0x -D_GLIBCXX_DEBUG: //////////// #include <forward_list> //////////// No recent changes to the library itself can possibly have caused this. HJ, can you search the offending patch?