diff options
author | Diego Novillo <dnovillo@redhat.com> | 2004-02-08 16:51:03 +0000 |
---|---|---|
committer | Diego Novillo <dnovillo@gcc.gnu.org> | 2004-02-08 11:51:03 -0500 |
commit | 6bdd607046482e27abcd2eb06e71be8a566a5060 (patch) | |
tree | 3c42472b7995bcc24510e4a7b1a37695d24d3660 /libjava | |
parent | bf310028ad28c695526c5a18889554091c119121 (diff) | |
download | gcc-6bdd607046482e27abcd2eb06e71be8a566a5060.zip gcc-6bdd607046482e27abcd2eb06e71be8a566a5060.tar.gz gcc-6bdd607046482e27abcd2eb06e71be8a566a5060.tar.bz2 |
i386-signal.h (MAKE_THROW_FRAME): Add volatile qualifier to _regs.
* include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
qualifier to _regs.
From-SVN: r77484
Diffstat (limited to 'libjava')
-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 69795b9..0f98101 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 280b72e..c581e2d 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 \ |