Launchpad has imported 2 comments from the remote bug at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44680.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://documentation.ubuntu.com/launchpad/user/reference/bugs/multi-project-bugs/about-multi-project-bugs/#bugs-in-external-trackers. ------------------------------------------------------------------------ On 2010-06-26T10:27:21+00:00 Matthias Klose wrote: the binary built with 4.4 and run with 4.5's libstdc++ shared library fails: #include <tr1/regex> # include <cassert> # define VERIFY(fn) assert(fn) // Tests the value() function of the regex_traits<char> class. void test01() { bool test __attribute__((unused)) = true; std::tr1::regex_traits<char> t; VERIFY( t.value('7', 8) == 7 ); VERIFY( t.value('7', 10) == 7 ); VERIFY( t.value('7', 16) == 7 ); VERIFY( t.value('9', 8) == -1 ); VERIFY( t.value('9', 10) == 9 ); VERIFY( t.value('9', 16) == 9 ); VERIFY( t.value('d', 8) == -1 ); VERIFY( t.value('d', 10) == -1 ); VERIFY( t.value('d', 16) == 13 ); } int main() { test01(); return 0; }; FAIL: tr1/7_regular_expressions/regex_traits/char/value.cc execution test value.exe: /scratch/packages/gcc/4.4/u/gcc-4.4-4.4.4/src/libstdc++-v3/testsuite/tr1/7_regular_expressions/ regex_traits/char/value.cc:35: void test01(): Assertion `t.value('9', 8) == -1' failed. FAIL: tr1/7_regular_expressions/regex_traits/wchar_t/value.cc execution test value.exe: /scratch/packages/gcc/4.4/u/gcc-4.4-4.4.4/src/libstdc++-v3/testsuite/tr1/7_regular_expressions/ regex_traits/wchar_t/value.cc:35: void test01(): Assertion `t.value('9', 8) == -1' failed. Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-4.5/+bug/598785/comments/0 ------------------------------------------------------------------------ On 2010-06-26T11:23:57+00:00 Paolo-carlini wrote: Regex was completely broken / unusable, before yesterday's first seriou stab at it. Reply at: https://bugs.launchpad.net/ubuntu/+source/gcc-4.5/+bug/598785/comments/2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/598785 Title: [PR44680] regex_traits/char/value.cc built with 4.4, run with 4.5's libstdc++ fails To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/598785/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
