This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49253] New: [4.7 Regression] Debug-mode forward_list broken
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 1 Jun 2011 11:07:54 +0000
- Subject: [Bug c++/49253] New: [4.7 Regression] Debug-mode forward_list broken
- Auto-submitted: auto-generated
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: unassigned@gcc.gnu.org
ReportedBy: paolo.carlini@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?