------- Comment #11 from joel at gcc dot gnu dot org 2009-01-19 15:00 -------
(In reply to comment #6)
> Can you attach preprocessed source of idecode.c at least? Can you track down
> where in idecode.c the bug is and wrap a main () around that piece, making it
> an executable testcase?
psim is automatically generated code. I have no idea how to narrow it down
to an executable test case. I included my gdb configuration, psim
test program, and preprocessed source. I will upload the script I
am using to run it since you have to have a device tree.
Hmmm... this is the code where the assert happens:
/* now establish the restart target */
psim_set_halt_and_restart(system, &halt, &restart);
if (setjmp(restart)) {
current_cpu = psim_last_cpu(system);
ASSERT(current_cpu >= 0 && current_cpu < nr_cpus);
}
Is it possible that setjmp/longjmp is not preserving a register that
gcc x86_64 is now using?
> Does 4.3.[23] work? Pleas adjust the Known-to-work fields.
Confirmed 4.3.2.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38587