public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: target/2723: [HPPA/HPUX] exception handling
@ 2002-02-27  9:02 rodrigc
  0 siblings, 0 replies; only message in thread
From: rodrigc @ 2002-02-27  9:02 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, jle, nobody

Synopsis: [HPPA/HPUX] exception handling

State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Wed Feb 27 09:00:31 2002
State-Changed-Why:
    The example is ill-formed.
    
    This is the corrected example:
    
     
    class Ex
    {
    public:
      Ex ()
      {
      }
    };
     
    int
    main (int argc, char *argv[])
    {
      try
      {
        throw Ex ();
        return 1;
      }
      catch (const Ex & e)
      {
        return 0;
      }
      catch (...)
      {
        return 1;
      }
      return 1;
    }
    
    This works with gcc 3.0.4 under current HP-UX.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=2723


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

only message in thread, other threads:[~2002-02-27 17:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-27  9:02 target/2723: [HPPA/HPUX] exception handling rodrigc

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