This is the mail archive of the gcc-patches@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]

Re: Fix some _GLIBCXX_DEBUG pretty printer errors


On 8 March 2018 at 21:32, François Dumont <frs.dumont@gmail.com> wrote:
> On 08/03/2018 19:11, Jonathan Wakely wrote:
>>
>> This caused a new regression for:
>>
>>    std::forward_list<std::string> flst;
>>    std::forward_list<std::string>::iterator flstiter0;
>> // { dg-final { note-test flstiter0 {non-dereferenceable iterator for
>> std::forward_list}} }
>>
>>
>> $1 = {_M_node = 0x0}
>> got: $1 = {_M_node = 0x0}
>> FAIL: libstdc++-prettyprinters/debug_cxx11.cc print flstiter0
>>
> Yes, sorry, it looks like I was more concerned by the fixes than by the
> errors on the new test.
>
> This is coming from an attempt to move the forward_list iterators outside
> the std namespace. I'll provide a fix tomorrow.

Thanks!


> François
>


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