[Bug c++/61637] C++ program does not catch exceptions on AIX 7.1

2014-06-28 Thread chandrakm at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61637 --- Comment #5 from Krishnamoorthy C --- // Throw and catch not working #include using namespace std; int main () { try { throw 20; } catch (int e) { cout << "This is not caught " << e << '\n'; } catch (...) { cout << "This

[Bug c++/61637] C++ program does not catch exceptions on AIX 7.1

2014-06-28 Thread chandrakm at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61637 --- Comment #4 from Krishnamoorthy C --- The symptoms are as follows: 1. Any exception thrown ( whether a empty throw or a number or a class object ) never reaches the catch this is happening across the code base, always, i.e. none of the catc

[Bug c++/61637] C++ program does not catch exceptions on AIX 7.1

2014-06-28 Thread chandrakm at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61637 --- Comment #3 from Krishnamoorthy C --- Compiler options tried: --- CC= gcc CXX=g++ Compilation flags SYSCXXFLAGS= -Dlinux -Dlinux_x86_64 -DLINUX_AMD64 -O1 -maix64 -fpermissive -Wextra -Wuninitialized -Winit-self -Wwrite-st

[Bug c++/61637] C++ program does not catch exceptions on AIX 7.1

2014-06-28 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61637 --- Comment #2 from Daniel Krügler --- As usual you need to provide a code example and the used compiler flags.

[Bug c++/61637] C++ program does not catch exceptions on AIX 7.1

2014-06-28 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61637 Paolo Carlini changed: What|Removed |Added Severity|blocker |normal

[Bug c++/61637] C++ program does not catch exceptions on AIX 7.1

2014-06-28 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61637 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|