diff options
-rw-r--r-- | libjava/ChangeLog | 5 | ||||
-rw-r--r-- | libjava/include/i386-signal.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 69795b95001..0f981016e5e 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2004-02-08 Diego Novillo <dnovillo@redhat.com> + + * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile + qualifier to _regs. + 2004-02-06 Michael Koch <konqueror@gmx.de> * java/io/ObjectInputStream.java diff --git a/libjava/include/i386-signal.h b/libjava/include/i386-signal.h index 280b72e5586..c581e2d00ee 100644 --- a/libjava/include/i386-signal.h +++ b/libjava/include/i386-signal.h @@ -26,7 +26,7 @@ static void _name (int _dummy) do \ { \ void **_p = (void **)&_dummy; \ - struct sigcontext_struct *_regs = (struct sigcontext_struct *)++_p; \ + volatile struct sigcontext_struct *_regs = (struct sigcontext_struct *)++_p; \ \ /* Advance the program counter so that it is after the start of the \ instruction: the x86 exception handler expects \ |