[Bug lto/88159] LTO seems to mishandle exceptions that're thrown from c-linkage functions

2018-11-22 Thread wanyingloo at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88159 --- Comment #3 from Wanying Luo --- Ah, you're right. Thanks for pointing it out, Andrew.

[Bug lto/88159] New: LTO seems to mishandle exceptions that're thrown from c-linkage functions

2018-11-22 Thread wanyingloo at gmail dot com
: normal Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: wanyingloo at gmail dot com CC: marxin at gcc dot gnu.org Target Milestone: --- This looks to be a bug in LTO. Can someone please confirm? $ cat main.cpp

[Bug libstdc++/85824] regex constructor crashes under UTF-8 locale on Solaris-sparc when parsing a simple character class

2018-05-17 Thread wanyingloo at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85824 --- Comment #2 from Wanying Luo --- (In reply to Wanying Luo from comment #0) > When I ran this test on a Linux machine with GCC 4.9.2, glibc's strxfrm() > converts 0x80 to 6 bytes. Pasting my test on Linux with the same version of GCC for

[Bug libstdc++/85824] regex constructor crashes under UTF-8 locale on Solaris-sparc when parsing a simple character class

2018-05-17 Thread wanyingloo at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85824 --- Comment #1 from Wanying Luo --- Here's GDB backtrace at the time of crash. #0 0xf56fe7a0 in __lwp_sigqueue () from /lib/libc.so.1 #1 0xf56a1e90 in raise () from /lib/libc.so.1 #2 0xf567a274 in abort () from /lib/libc.so.1 #3 0xff2f2d70

[Bug libstdc++/85824] New: regex constructor crashes under UTF-8 locale on Solaris-sparc when parsing a simple character class

2018-05-17 Thread wanyingloo at gmail dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: wanyingloo at gmail dot com Target Milestone: --- $ cat test.cpp #include #include int main (int argc, char *argv[]) { setlocale(LC_ALL