public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Gene.Thomas@eServGlobal.com To: gcc-gnats@gcc.gnu.org Subject: c++/10599: -O2 with exception in shared libraries with -O2 optimisation on HP-UX 11 g++ cause Segmentation fault Date: Fri, 02 May 2003 06:56:00 -0000 [thread overview] Message-ID: <20030502065005.22270.qmail@sources.redhat.com> (raw) >Number: 10599 >Category: c++ >Synopsis: -O2 with exception in shared libraries with -O2 optimisation on HP-UX 11 g++ cause Segmentation fault >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: wrong-code >Submitter-Id: net >Arrival-Date: Fri May 02 06:56:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: Gene Thomas >Release: gcc version 3.2 >Organization: >Environment: > uname -a HP-UX hp14 B.11.00 A 9000/785 2013266428 two-user license > gcc -v Reading specs from /opt/gcc-3.2/lib/gcc-lib/hppa2.0w-hp-hpux11.00/3.2/specs Configured with: ./configure --prefix=/opt/gcc-3.2 --enable-shared --with-gnu-as --with-as=/opt/binutils/bin/as --enable-libgcj : (reconfigured) ./configure --prefix=/opt/gcc-3.2 --enable-shared --with-gnu-as --with-as=/opt/binutils/bin/as Thread model: single gcc version 3.2 >Description: When compiling the attached program on HP-UX 11.0 (works on Linux), and an exception thrown from a shared library and caught in the host application, when optimisation is on (-O2) the program core dumps when one attempts to look into the caught exception (printing .what() or looking at the typeid() infomation. >How-To-Repeat: ungzip and untar the attached source, gmake and run ./exceptionProblem. This core dumps, see source for simple (as possible) test program. >Fix: >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: application/x-gzip-compressed; name="soure.tar.gz" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="soure.tar.gz" H4sICCUUsj4AA3NvdXJlLnRhcgDtWFtr2zAU7mv0Kw4pDIcubpwr2KUPG3sY7FLoDxiOrMSmthQs ZW0Z+e/TxXKcxFkG64UyfQ91de7nOPpyWvKAyUpkjN6UbJ6Twsf47KkxkJhNp/I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] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20030502065005.22270.qmail@sources.redhat.com \ --to=gene.thomas@eservglobal.com \ --cc=gcc-gnats@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).