[Bug target/61637] C++ program does not catch exceptions on AIX 7.1
dje at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jun 30 01:13:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61637
--- Comment #11 from David Edelsohn <dje at gcc dot gnu.org> ---
I tested a corrected version of your example with both G++ 4.8.1 from Perzl.org
/ oss4aix.org and GCC trunk from a few days ago. I compiled both 32 bit
(default) and 64 bit (-maix64) and -pthread. All print
"This is not caught 20"
You seem to be invoking GCC incorrectly on AIX. Why are you adding defining
Linux x86 and AMD definitions on POWER AIX? Why are you changing the library
search path order? Why are you linking with -lpthread instead of using
-pthread GCC/G++ command line option?
>From when did you install GCC 4.8.1 on your system? Hopefully not IBM AIX
Toolkit.
More information about the Gcc-bugs
mailing list