openssl reveals a problem
Bernd Schmidt
bernds@balti.cygnus.co.uk
Tue Dec 14 04:39:00 GMT 1999
On Tue, 14 Dec 1999, Roger W. Brown wrote:
> make[2]: Leaving directory `/Main/Pending/OPEN_SSH/openssl-0.9.4/apps'
> ./destest
> Doing cbcm
> make[1]: *** [test_des] Segmentation fault (core dumped)
This is due to a misguided attempt to make reload run faster. I will
commit the following patch as an obvious bugfix; it undoes that part of
my reload patch.
Bernd
* reload1.c (reload): Can't avoid select_reload_regs/finish_spills
if something changed. Back out that part of yesterday's changes.
Index: reload1.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/reload1.c,v
retrieving revision 1.185
diff -c -p -r1.185 reload1.c
*** reload1.c 1999/12/13 13:21:34 1.185
--- reload1.c 1999/12/14 12:26:19
*************** reload (first, global, dumpfile)
*** 948,965 ****
}
}
! /* No point in trying to select reload registers if we know we're
! going to re-run everything again. */
! if (! something_changed)
! {
! select_reload_regs (dumpfile);
! if (failure)
! goto failed;
- if (insns_need_reload != 0 || did_spill)
- something_changed |= finish_spills (global, dumpfile);
- }
if (! something_changed)
break;
--- 948,960 ----
}
}
! select_reload_regs (dumpfile);
! if (failure)
! goto failed;
! if (insns_need_reload != 0 || did_spill)
! something_changed |= finish_spills (global, dumpfile);
if (! something_changed)
break;
More information about the Gcc-bugs
mailing list