This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: target/2723: [HPPA/HPUX] exception handling


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]