This is the mail archive of the gcc@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]

Re: problem with exception handling


  In message <199710171756.LAA21622@barney.lanl.gov>you write:
  > 
  > --C0X6iWwYi9OgoVx8GtiA8gVni+RCEOFHDcBlzx9W
  > Content-Type: text/plain; charset=us-ascii
  > Content-Transfer-Encoding: 7bit
  > 
  > Why do I get a dumped core in this program. I use
  > the newest snapshot installed, ( test.C is attached)
  > 
  > gdb gives the following
  > Breakpoint 1 at 0x4002aba4
  > -- main starts --
  > -- f1 starts -- 
  > L TraceLifetime constructed for a.
  > -- f2 starts -- 
  > LL TraceLifetime constructed for c.
  > LD TraceLifetime destroyed for c.
  > 
  > Breakpoint 1, 0x4002aba4 in abort ()
  > (gdb) where
  > #0  0x4002aba4 in abort ()
  > #1  0x8050029 in copy_reg (reg=16, udata=0xbffff894, target_udata=0xbffff82
  > 4)
  > #2  0x80502b1 in __throw ()
  > #3  0x804a304 in f1 () at /home/hro/C++/test.C:58
  > #4  0x804a3e9 in main () at /home/hro/C++/test.C:66
  > #5  0x804a02b in _start ()
  > --------------------------
Your testcase works for me using the current sources; you should
try it after I make the next snapshot.

jeff


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