public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "timshen at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/63199] Inserting std::wregex to std::vector loses some std::wregex values
Date: Thu, 25 Sep 2014 04:44:00 -0000	[thread overview]
Message-ID: <bug-63199-4-34tTl8o6P1@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-63199-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63199

--- Comment #3 from Tim Shen <timshen at gcc dot gnu.org> ---
Author: timshen
Date: Thu Sep 25 04:43:19 2014
New Revision: 215578

URL: https://gcc.gnu.org/viewcvs?rev=215578&root=gcc&view=rev
Log:
    PR libstdc++/63199
    * include/bits/regex.h (basic_regex::basic_regex, basic_regex::assign,
    basic_regex::imbue, basic_regex::getloc, basic_regex::swap): Add
    _M_loc for basic_regex.
    * include/bits/regex_automaton.h: Add _M_traits for _NFA.
    * include/bits/regex_compiler.h (_Compiler::_M_get_nfa, __compile_nfa):
    Make _Compiler::_M_nfa heap allocated.
    * include/bits/regex_compiler.tcc (_Compiler::_Compiler): Make
    _Compiler::_M_nfa heap allocated.
    * include/bits/regex_executor.h (_Executor::_M_is_word):
    Fix accessing _M_traits.
    * include/bits/regex_executor.tcc (_Executor::_M_dfs):
    Fix accessing _M_traits.
    * testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/63199.cc:
    New testcase.

Added:
   
trunk/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/wchar_t/63199.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/regex.h
    trunk/libstdc++-v3/include/bits/regex_automaton.h
    trunk/libstdc++-v3/include/bits/regex_compiler.h
    trunk/libstdc++-v3/include/bits/regex_compiler.tcc
    trunk/libstdc++-v3/include/bits/regex_executor.h
    trunk/libstdc++-v3/include/bits/regex_executor.tcc


  parent reply	other threads:[~2014-09-25  4:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-07 17:56 [Bug libstdc++/63199] New: Inserting std::wregex to std::vector looses " stefan at schweter dot it
2014-09-07 17:56 ` [Bug libstdc++/63199] " stefan at schweter dot it
2014-09-08  8:46 ` [Bug libstdc++/63199] Inserting std::wregex to std::vector loses " redi at gcc dot gnu.org
2014-09-25  4:44 ` timshen at gcc dot gnu.org [this message]
2014-10-02 16:51 ` timshen at gcc dot gnu.org
2014-11-28 20:25 ` timshen at gcc dot gnu.org
2023-07-20 10:29 ` redi at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-63199-4-34tTl8o6P1@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).