public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Neal Becker <neal@ctd.comsat.com>
To: egcs@cygnus.com
Subject: EH broken in HPPA egcs-1.0?
Date: Wed, 10 Dec 1997 13:16:00 -0000	[thread overview]
Message-ID: <u9iusw9ayb.fsf@neal.ctd.comsat.com> (raw)

I tried a trivial test program using EH (one of the dejagnu g++ tests) 
on hppa1.1-hpux9.05 egcs-1.0 and it segfaults:

extern "C" void puts(const char *);

class foo {
public:
  class error {};

  void cause_error(void) { throw error(); }
};

int main(void)
{
  foo f;
  try {
    f.cause_error();
  }
  catch (foo::error) {
    puts("Caught it.");
  }
  return 0;
}

                 reply	other threads:[~1997-12-10 13:16 UTC|newest]

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=u9iusw9ayb.fsf@neal.ctd.comsat.com \
    --to=neal@ctd.comsat.com \
    --cc=egcs@cygnus.com \
    /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: link
Be 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).