https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61250

--- Comment #12 from howarth at bromo dot med.uc.edu ---
To clarify, I am able to debug the core file by executing...

make -k -j8 check RUNTESTFLAGS="pch.exp=pch.C --target_board=unix'{-dH}'"

until I see...

FAIL: g++.dg/pch/pch.C  -O2 -I. -Dwith_PCH (internal compiler error)
FAIL: g++.dg/pch/pch.C  -O2 -I. -Dwith_PCH (test for excess errors)
FAIL: g++.dg/pch/pch.C  -O2 assembly comparison

at which time I find the expected core file added to /cores for use with...

gdb /sw/src/fink.build/gcc5-5.0.0-1/darwin_objdir/gcc/cc1plus /cores/core.4746

which uniformly shows...

#0  0x00007fff96238286 in __pthread_kill ()
#1  0x00007fff9488042f in pthread_kill ()
#2  0x00007fff8e9c1b53 in abort ()
#3  0x0000000100f31530 in linemap_lookup (set=0x1017590f0, line=523) at
../../gcc-5-20150325/libcpp/line-map.c:763

Reply via email to