The testcase g++.dg/eh/forced1.C when compiled at -m64 on Darwin PPC crashes with a bus error. The gdb run and backtrace are...
(gdb) r Starting program: /Users/howarth/g++errors/a.out Reading symbols for shared libraries .+++ done Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x0000000000000000 0x0000000000044220 in _Unwind_GetGR (context=0x0, index=13) at ../../gcc-4.2-20060913/gcc/unwind.inc:216 216 } (gdb) bt #0 0x0000000000044220 in _Unwind_GetGR (context=0x0, index=13) at ../../gcc-4.2-20060913/gcc/unwind.inc:216 #1 0x0000000000049b10 in _Unwind_fallback_frame_state_for (context=0x7fffeffffe410, fs=0x7fffeffffd480) at ../../gcc-4.2-20060913/gcc/config/rs6000/darwin-fallback.c:337 #2 0x0000000000045238 in uw_frame_state_for (context=0x7fffeffffe410, fs=0x7fffeffffd480) at ../../gcc-4.2-20060913/gcc/unwind.inc:216 #3 0x0000000000046db4 in _Unwind_ForcedUnwind_Phase2 (exc=0xc004e0, context=0x7fffeffffe410) at ../../gcc-4.2-20060913/gcc/unwind.inc:216 #4 0x000000000004716c in _Unwind_Resume (exc=0xc004e0) at ../../gcc-4.2-20060913/gcc/unwind.inc:216 #5 0x0000000000002d20 in doit () at forced1.C:81 #6 0x0000000000002d30 in main () at forced1.C:81 Current language: auto; currently c g++-4 -v Using built-in specs. Target: powerpc-apple-darwin8 Configured with: ../gcc-4.2-20060913/configure --prefix=/sw --prefix=/sw/lib/gcc4 --enable-languages=c,c++,fortran --infodir=/sw/lib/gcc4/share/info --with-gmp=/sw --with-included-gettext --host=powerpc-apple-darwin8 --with-libiconv-prefix=/sw Thread model: posix gcc version 4.2.0 20060913 (experimental) -- Summary: g++.dg/eh/forced1.C when compiled at -m64 on Darwin PPC has bus error Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: howarth at nitro dot med dot uc dot edu GCC build triplet: powerpc-apple-darwin8 GCC host triplet: powerpc-apple-darwin8 GCC target triplet: powerpc-apple-darwin8 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29076