aboutsummaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@redhat.com>2004-02-08 16:51:03 +0000
committerDiego Novillo <dnovillo@gcc.gnu.org>2004-02-08 11:51:03 -0500
commit6bdd607046482e27abcd2eb06e71be8a566a5060 (patch)
tree3c42472b7995bcc24510e4a7b1a37695d24d3660 /libjava
parentbf310028ad28c695526c5a18889554091c119121 (diff)
downloadgcc-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/ChangeLog5
-rw-r--r--libjava/include/i386-signal.h2
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 \