[Bug c++/40918] New: uncaught_exception() returns wrong (inverted) value if some exception have crossed a DLL boundary before

2009-07-30 Thread andriys at gmail dot com
we put do_throw() in a statically linked module, std::uncaught_exception will work as expected as well. -- Summary: uncaught_exception() returns wrong (inverted) value if some exception have crossed a DLL boundary before Product: gcc Version: 4.4.0

[Bug c++/40918] uncaught_exception() returns wrong (inverted) value if some exception have crossed a DLL boundary before

2009-07-30 Thread andriys at gmail dot com
--- Comment #1 from andriys at gmail dot com 2009-07-30 20:22 --- Created an attachment (id=18275) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18275&action=view) Test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40918

[Bug c++/40918] uncaught_exception() returns wrong (inverted) value if some exception have crossed a DLL boundary before

2009-07-30 Thread andriys at gmail dot com
--- Comment #3 from andriys at gmail dot com 2009-07-31 06:56 --- I'm linking using g++ driver, so shared libgcc is enabled by default in 4.4.0. I've just tried to enabled shared libstdc++ as described in the Release Notes to the MinGW GCC 4.4.0 release, which made no differe

[Bug c++/40918] uncaught_exception() returns wrong (inverted) value if some exception have crossed a DLL boundary before

2009-07-30 Thread andriys at gmail dot com
--- Comment #4 from andriys at gmail dot com 2009-07-31 06:58 --- Created an attachment (id=18277) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18277&action=view) Modified test case (not dependent on libstdc++ at all) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40918

[Bug c++/40918] uncaught_exception() returns wrong (inverted) value if some exception have crossed a DLL boundary before

2009-08-04 Thread andriys at gmail dot com
--- Comment #6 from andriys at gmail dot com 2009-08-04 13:41 --- (In reply to comment #5) > I cannot comment on the build of libsdc++.dll in the mingw 4.4.0 release since > I have not looked at that source. There is a patch file that is shipped along with the mingw 4.4.0

[Bug c++/40918] uncaught_exception() returns wrong (inverted) value if some exception have crossed a DLL boundary before

2009-08-04 Thread andriys at gmail dot com
--- Comment #7 from andriys at gmail dot com 2009-08-04 13:53 --- Created an attachment (id=18296) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18296&action=view) Yet another test case This test checks whether main executable and dll share common abi::__cxa_eh_globals st

[Bug target/42886] [4.5 Regression] GCC is not relocatable anymore on Windows (mingw32)

2010-03-21 Thread andriys at gmail dot com
--- Comment #3 from andriys at gmail dot com 2010-03-21 08:15 --- (In reply to comment #1) > This is probably due to the way you built GCC. To have a completely > relocatable toolchain, you need to use the --with-sysroot option to configure, I've just checked out the lat

[Bug target/40918] uncaught_exception() returns wrong (inverted) value if some exception have crossed a DLL boundary before

2010-01-26 Thread andriys at gmail dot com
--- Comment #9 from andriys at gmail dot com 2010-01-26 12:16 --- Well, I have finally managed to build the trunk on Windows (mingw32). Now all test cases work fine for me without any patches (as of revision 156168 at least). Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug regression/42886] New: [4.5 Regression] GCC is not relocatable anymore on Windows (mingw32)

2010-01-27 Thread andriys at gmail dot com
c/mingw32/4.5.0/;c:/devtools/mingw/bin/../lib/gcc/;c:/devtools/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/lib/;c:/devtools/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../ COLLECT_GCC_OPTIONS='-E' '-v' '-mtune=i386' -- Summary: [4.5 Regression] GCC is n