Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Mar 2001 17:58:33 -0800 (PST)
From:      "David E. O'Brien" <obrien@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/contrib/gcc.295 - Imported sources
Message-ID:  <200103240158.f2O1wXn65425@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
obrien      2001/03/23 17:58:33 PST

  src/contrib/gcc.295 - Imported sources
  Update of /home/ncvs/src/contrib/gcc.295
  In directory freefall.freebsd.org:/c/tmp/cvs-serv65307
  
  Log Message:
  Import the setjump/longjump exception handling fixes from GCC 2.95.3.test3
  that were removed from GCC 2.95.3.test4 and the subsequent release due
  to problems on HP-UX.  However, they work just fine on all the BSD's.
  
  W/o these patches the following program segmentation faults if compiled
  with -O2 (but not -Os or -O or -O0):
  
  #include <stdio.h>
  
  class A {
  public:
    A() { printf("c'tor A\n"); }
    ~A(){ printf("d'tor A\n"); }
  };
  
  class foo : public A {
  public:
    foo()  { printf("C'tor foo\n"); throw 8; }
    ~foo() { printf("D'tor foo\n"); }
  };
  
  int main(){
    try { foo fii; }
    catch (int){ printf("catch ...\n"); }
    return 0;
  }
  
  Status:
  
  Vendor Tag:	FSF
  Release Tags:	gcc_2_95_3_with_sjlj_fix
  		
  U src/contrib/gcc.295/varasm.c
  U src/contrib/gcc.295/expr.h
  U src/contrib/gcc.295/expr.c
  U src/contrib/gcc.295/except.c
  
  No conflicts created by this import
  

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103240158.f2O1wXn65425>