This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: Two <regex> testcases failing for check-debug


On Thu, Aug 15, 2013 at 5:53 PM, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
> Why not use __s.data() in all cases, instead of &*__s.begin()?  That's
> safe even for an empty vector.

Thanks, I didn't notice that vector's data() is mutable(since string's is not).


Bootstrap Passed, and testsuites with -D_GLIBCXX_DEBUG, with or
without -m32 passed.

Could you please commit this patch for me? I lost my SSH private key :(

Thanks!

-- 
Tim Shen

Attachment: a.patch
Description: Binary data


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