mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 14:00:21 +02:00
(scm_ithrow): Remove "asm volatile" hack. It used to work around a
bug in GCC 2.95.2 but is now a bug in itself.
This commit is contained in:
parent
d04229df7c
commit
ed6de6e9bd
1 changed files with 1 additions and 9 deletions
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 1995,1996,1997,1998,2000,2001 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1995,1996,1997,1998,2000,2001, 2003 Free Software Foundation, Inc.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
|
@ -589,14 +589,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
|
||||
right here. If you don't want this, establish a catch-all around
|
||||
any code that might throw up. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue