mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-31 01:10:24 +02:00
* throw.c (scm_ithrow): removed winds "asm" protection in favor of
scm_remember_upto_here_1.
This commit is contained in:
parent
9300912e0c
commit
6e19af7d09
1 changed files with 7 additions and 9 deletions
|
@ -622,14 +622,6 @@ scm_ithrow (SCM key, SCM args, int noreturn SCM_UNUSED)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __GNUC__
|
|
||||||
/* Dirk:FIXME:: This bugfix should be removed some time. */
|
|
||||||
/* GCC 2.95.2 has a bug in its optimizer that makes it generate
|
|
||||||
incorrect code sometimes. This barrier stops it from being too
|
|
||||||
clever. */
|
|
||||||
asm volatile ("" : "=g" (winds));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* If we didn't find anything, print a message and abort the process
|
/* If we didn't find anything, print a message and abort the process
|
||||||
right here. If you don't want this, establish a catch-all around
|
right here. If you don't want this, establish a catch-all around
|
||||||
any code that might throw up. */
|
any code that might throw up. */
|
||||||
|
@ -640,8 +632,14 @@ scm_ithrow (SCM key, SCM args, int noreturn SCM_UNUSED)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If the wind list is malformed, bail. */
|
/* If the wind list is malformed, bail. */
|
||||||
|
/* remember calls added below to fix segfaults on ia64 and (I think)
|
||||||
|
powerpc */
|
||||||
if (!SCM_CONSP (winds))
|
if (!SCM_CONSP (winds))
|
||||||
abort ();
|
{
|
||||||
|
scm_remember_upto_here_1 (winds);
|
||||||
|
abort ();
|
||||||
|
}
|
||||||
|
scm_remember_upto_here_1 (winds);
|
||||||
|
|
||||||
jmpbuf = SCM_CDR (dynpair);
|
jmpbuf = SCM_CDR (dynpair);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue