Go to file
Tim Shen 7b86458e38 regex.h (regex_match<>, [...]): Change regex_executor caller.
2013-09-14  Tim Shen  <timshen91@gmail.com>

	* include/bits/regex.h (regex_match<>, regex_search<>):
	Change regex_executor caller. Now use their return value instead
	of checking __m[0].matched to find out if it's successful.
	(regex_search<>): Move the search logic to regex_executor.
	* include/bits/regex_automaton.h: Add some new _Opcode. Refactor
	_NFA::_M_insert_*.
	* include/bits/regex_automaton.tcc: Add DEBUG dump for new
	_Opcode. Refactor _NFA::_M_insert_*.
	* include/bits/regex_compiler.h (_Compiler<>::_M_get_nfa):
	Use make_shared instead of construct by hand.
	* include/bits/regex_compiler.tcc: Implement _Compiler<>::_M_assertion.
	* include/bits/regex_constants.h: Fix indentation and line breaking.
	* include/bits/regex_executor.h: Add _ResultsEntry to support
	greedy/ungreedy mode. Move regex_search logic here.
	* include/bits/regex_executor.tcc: Implement assertions and
	greedy/ungreedy matching.
	* include/bits/regex_scanner.h: Add a new token _S_token_ungreedy.
	* include/bits/regex_scanner.tcc: Parse a new token _S_token_ungreedy.
	* testsuite/28_regex/algorithms/regex_search/ecma/assertion.cc: New.
	* testsuite/28_regex/algorithms/regex_search/ecma/greedy.cc: New.
	* testsuite/28_regex/algorithms/regex_search/ecma/string_01.cc:
	Fix comment.

From-SVN: r202591
2013-09-14 14:23:44 +00:00
boehm-gc Makefile.am (libgcjgc_la_LIBADD): Add EXTRA_TEST_LIBS. 2013-09-04 10:48:01 +00:00
config Merge ubsan into trunk. 2013-08-30 16:12:58 +00:00
contrib MAINTAINERS: Add Nick Clifton and DJ Delorie as msp430 maintainers. 2013-09-12 13:52:41 -04:00
fixincludes inclhack.def (aix_assert): New fix. 2013-09-02 19:01:49 -04:00
gcc re PR target/58269 (ICE when building libobjc on x86_64-apple-darwin* after revision 201915) 2013-09-14 11:09:55 +00:00
gnattools re PR ada/58239 (pretty-print.c:789: undefined reference to `operator delete(void*)') 2013-09-01 16:51:41 +00:00
include floatformat.h (floatformat_ibm_long_double): Delete. 2013-08-20 15:01:41 +09:30
INSTALL
intl
libada
libatomic
libbacktrace elf.c (elf_syminfo): Loop over the elf_syminfo_data chain. 2013-07-23 13:17:10 +04:00
libcpp configure.ac: Set need_64bit_hwint for all arm targets. 2013-08-07 13:51:38 +00:00
libdecnumber configure.ac: Add AC_CONFIG_AUX_DIR. 2013-07-09 10:24:39 +00:00
libffi
libgcc mulsi3.S: Remove a few unneeded moves and branches. 2013-09-14 02:13:18 -04:00
libgfortran fpu-387.h (get_fpu_rounding_mode): Read rounding mode from SSE mxcsr register on x86_64. 2013-07-23 11:45:30 +02:00
libgo compiler, runtime: Use runtime functions to pass closure value. 2013-09-03 21:52:37 +00:00
libgomp
libiberty ChangeLog: Add missing file to two entries. 2013-09-12 13:27:46 +00:00
libitm libitm: Fix wrong initialization order introduced with r202101. 2013-08-30 17:13:05 +00:00
libjava
libmudflap
libobjc class.c: Fix typos. 2013-07-21 15:38:21 +00:00
libquadmath
libsanitizer darwin.h (LINK_COMMAND_SPEC_A): Revise sanitizer specs to include sanitize(undefined). 2013-09-01 12:16:07 +00:00
libssp
libstdc++-v3 regex.h (regex_match<>, [...]): Change regex_executor caller. 2013-09-14 14:23:44 +00:00
libvtv configure.tgt: Remove *-*-*android* from supported targets. 2013-09-13 11:21:10 +00:00
lto-plugin
maintainer-scripts
zlib
.gitignore
ABOUT-NLS
ChangeLog MAINTAINERS: Add Nick Clifton and DJ Delorie as msp430 maintainers. 2013-09-12 13:52:41 -04:00
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure configure.ac: Also allow ISL 0.12. 2013-09-03 10:05:29 +00:00
configure.ac configure.ac: Also allow ISL 0.12. 2013-09-03 10:05:29 +00:00
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp
install-sh
libtool-ldflags
libtool.m4
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS Remove myself from MAINTAINERS 2013-09-14 00:54:57 +00:00
Makefile.def Commit the vtable verification feature. 2013-08-06 20:38:59 -07:00
Makefile.in Commit the vtable verification feature. 2013-08-06 20:38:59 -07:00
Makefile.tpl
missing
mkdep
mkinstalldirs
move-if-change
README
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.