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]
Other format: [Raw text]

crash: longjmp vs -fprofile-arcs


#include <setjmp.h>
int foo (jmp_buf buf) { longjmp(buf, 1); }

now what? cc -fprofile-arcs lj.c
lj.c: In function `foo':
lj.c:2: internal error: Bus error
Please submit a full bug report, blah blah

It seems the block that calls longjmp has no successors, and the code in profile.c
is not expecting that. I'm not sure what the right thing is, could somebody look?


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