mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-11 06:20:23 +02:00
* backtrace.c (display_backtrace_body): since the `print_state'
variable is not used (instead its data field is used directly as `pstate'), protect it from the hungry compiler optimizations. thanks to Bill Schottstaedt for the report.
This commit is contained in:
parent
b0839672af
commit
463b2219df
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2001-03-31 Michael Livshin <mlivshin@bigfoot.com>
|
||||
|
||||
* backtrace.c (display_backtrace_body): since the `print_state'
|
||||
variable is not used (instead its data field is used directly as
|
||||
`pstate'), protect it from the hungry compiler optimizations.
|
||||
thanks to Bill Schottstaedt for the report.
|
||||
|
||||
2001-03-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
|
||||
|
||||
* gc.[ch] (scm_tc16_allocated): New type tag for allocated cells.
|
||||
|
|
|
@ -604,6 +604,8 @@ display_backtrace_body(struct display_backtrace_args *a)
|
|||
display_frame (frame, nfield, indentation, sport, a->port, pstate);
|
||||
}
|
||||
|
||||
scm_remember_upto_here_1 (print_state);
|
||||
|
||||
return SCM_UNSPECIFIED;
|
||||
}
|
||||
#undef FUNC_NAME
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue