public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* EH broken in HPPA egcs-1.0?
@ 1997-12-10 13:16 Neal Becker
  0 siblings, 0 replies; only message in thread
From: Neal Becker @ 1997-12-10 13:16 UTC (permalink / raw)
  To: egcs

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;
}

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-12-10 13:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-12-10 13:16 EH broken in HPPA egcs-1.0? Neal Becker

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).