Bug 61061 - FAIL: g++.dg/inherit/covariant7.C
Summary: FAIL: g++.dg/inherit/covariant7.C
Status: UNCONFIRMED
Alias: None
Product: gcc
Classification: Unclassified
Component: testsuite (show other bugs)
Version: 5.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-05 07:57 UTC by Andreas Schwab
Modified: 2014-07-01 03:15 UTC (History)
2 users (show)

See Also:
Host:
Target: ia64-*-*
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
covariant7.C.002t.class (1.26 KB, text/plain)
2014-05-05 07:57 UTC, Andreas Schwab
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Schwab 2014-05-05 07:57:37 UTC
Created attachment 32735 [details]
covariant7.C.002t.class

FAIL: g++.dg/inherit/covariant7.C -std=gnu++98  scan-tree-dump class "48    .*c6::_ZTcv0_n32_v0_n24_NV2c62f2Ev"
FAIL: g++.dg/inherit/covariant7.C -std=gnu++98  scan-tree-dump class "56    .*c6::f2"
FAIL: g++.dg/inherit/covariant7.C -std=gnu++98  scan-tree-dump class "168   .*c6::_ZTv0_n32_NV2c62f2Ev"
FAIL: g++.dg/inherit/covariant7.C -std=gnu++11  scan-tree-dump class "48    .*c6::_ZTcv0_n32_v0_n24_NV2c62f2Ev"
FAIL: g++.dg/inherit/covariant7.C -std=gnu++11  scan-tree-dump class "56    .*c6::f2"
FAIL: g++.dg/inherit/covariant7.C -std=gnu++11  scan-tree-dump class "168   .*c6::_ZTv0_n32_NV2c62f2Ev"
FAIL: g++.dg/inherit/covariant7.C -std=gnu++1y  scan-tree-dump class "48    .*c6::_ZTcv0_n32_v0_n24_NV2c62f2Ev"
FAIL: g++.dg/inherit/covariant7.C -std=gnu++1y  scan-tree-dump class "56    .*c6::f2"
FAIL: g++.dg/inherit/covariant7.C -std=gnu++1y  scan-tree-dump class "168   .*c6::_ZTv0_n32_NV2c62f2Ev"
Comment 1 Tim Shen 2014-07-01 03:06:18 UTC
Author: timshen
Date: Tue Jul  1 03:05:45 2014
New Revision: 212185

URL: https://gcc.gnu.org/viewcvs?rev=212185&root=gcc&view=rev
Log:
	PR libstdc++/61061
	PR libstdc++/61582
	* include/bits/regex_automaton.h (_NFA<>::_M_insert_state): Add
	a NFA state limit. If it's exceeded, regex_constants::error_space
	will be throwed.
	* include/bits/regex_automaton.tcc (_StateSeq<>::_M_clone): Use
	map (which is sparse) instead of vector. This reduce n times clones'
	cost from O(n^2) to O(n).
	* include/std/regex: Add map dependency.
	* testsuite/28_regex/algorithms/regex_match/ecma/char/61601.cc: New
	testcase.


Added:
    trunk/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/61601.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/regex_automaton.h
    trunk/libstdc++-v3/include/bits/regex_automaton.tcc
    trunk/libstdc++-v3/include/std/regex
Comment 2 Tim Shen 2014-07-01 03:15:48 UTC
(In reply to Tim Shen from comment #1)
> Author: timshen
> Date: Tue Jul  1 03:05:45 2014
> New Revision: 212185
> 
> URL: https://gcc.gnu.org/viewcvs?rev=212185&root=gcc&view=rev
> Log:
> 	PR libstdc++/61061
> 	PR libstdc++/61582
> 	* include/bits/regex_automaton.h (_NFA<>::_M_insert_state): Add
> 	a NFA state limit. If it's exceeded, regex_constants::error_space
> 	will be throwed.
> 	* include/bits/regex_automaton.tcc (_StateSeq<>::_M_clone): Use
> 	map (which is sparse) instead of vector. This reduce n times clones'
> 	cost from O(n^2) to O(n).
> 	* include/std/regex: Add map dependency.
> 	* testsuite/28_regex/algorithms/regex_match/ecma/char/61601.cc: New
> 	testcase.
> 
> 
> Added:
>    
> trunk/libstdc++-v3/testsuite/28_regex/algorithms/regex_match/ecma/char/61601.
> cc
> Modified:
>     trunk/libstdc++-v3/ChangeLog
>     trunk/libstdc++-v3/include/bits/regex_automaton.h
>     trunk/libstdc++-v3/include/bits/regex_automaton.tcc
>     trunk/libstdc++-v3/include/std/regex

Oops. Sorry for wrong PR id.