[Bug libstdc++/64132] [5/6 Regression] FAIL: 22_locale/numpunct/members/char/3.cc execution test

2015-12-21 Thread lixin.fnst at cn dot fujitsu.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64132

--- Comment #8 from li xin  ---
(In reply to li xin from comment #7)
> (In reply to li xin from comment #6)
> > The LSB test cases also Failed.
> > /22_locale/messages/members/char/2.cc 1
> > /22_locale/messages/members/char/wrapped_env.cc 1
> > /22_locale/messages/members/char/wrapped_locale.cc 1 are Failed.
> > 
> > They are pass on gcc-4.9.3.
> > and fail on gcc-5.1 and gcc-5.2
> 
> The output is as following:
> 2.cc:54: void test02(): Assertion `s01 == "s'il vous pla�t"' failed.
> DejaGNUTest.command_output_1:

Those three cases are Failed on gcc-5.3 too.

[Bug libstdc++/64132] [5/6 Regression] FAIL: 22_locale/numpunct/members/char/3.cc execution test

2015-12-11 Thread lixin.fnst at cn dot fujitsu.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64132

li xin  changed:

   What|Removed |Added

 CC||lixin.fnst at cn dot 
fujitsu.com

--- Comment #6 from li xin  ---
The LSB test cases also Failed.
/22_locale/messages/members/char/2.cc 1
/22_locale/messages/members/char/wrapped_env.cc 1
/22_locale/messages/members/char/wrapped_locale.cc 1 are Failed.

They are pass on gcc-4.9.3.
and fail on gcc-5.1 and gcc-5.2

[Bug libstdc++/64132] [5/6 Regression] FAIL: 22_locale/numpunct/members/char/3.cc execution test

2015-12-11 Thread lixin.fnst at cn dot fujitsu.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64132

--- Comment #7 from li xin  ---
(In reply to li xin from comment #6)
> The LSB test cases also Failed.
> /22_locale/messages/members/char/2.cc 1
> /22_locale/messages/members/char/wrapped_env.cc 1
> /22_locale/messages/members/char/wrapped_locale.cc 1 are Failed.
> 
> They are pass on gcc-4.9.3.
> and fail on gcc-5.1 and gcc-5.2

The output is as following:
2.cc:54: void test02(): Assertion `s01 == "s'il vous pla�t"' failed.
DejaGNUTest.command_output_1:

[Bug c++/59224] [4.7/4.8/4.9 Regression] std::uncaught_exception returns true while constructing exception.

2015-05-12 Thread lixin.fnst at cn dot fujitsu.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59224

li xin lixin.fnst at cn dot fujitsu.com changed:

   What|Removed |Added

 CC||lixin.fnst at cn dot 
fujitsu.com

--- Comment #8 from li xin lixin.fnst at cn dot fujitsu.com ---
(In reply to Jason Merrill from comment #5)
 Fixed for 4.8.3/4.9.  Not fixing on 4.7 branch.

It will lead to the lsb test caes
/libstdcxx-t2c/tests/LanguageSupport/LanguageSupport FAIL.
So I want to know the right return value of std::uncaught_exception() (inside
exception-constructor).

The LSB test code is as follows:

cat main.cpp
#include string.h
#include iostream

using namespace std;
class exception_test : public exception
{
public:
bool result;
exception_test(): exception(){result = uncaught_exception();}
~exception_test() throw(){};
};

int main(int argc, char ** argv)
{
bool result;

try
{
throw exception_test();
}
catch(exception_test et)
{
result = et.result;
}
cerr  result  endl;
return 0;
}

# g++ ./main.cpp
# ./a.out
0

My GCC version is 4.9.2, the return value of result is 0,and the test is FAIL.
If the the return value of result is 1,and the test will be PASS.