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++/49253] New: [4.7 Regression] Debug-mode forward_list broken


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?


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