summaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authordnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-08 16:51:03 +0000
committerdnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-08 16:51:03 +0000
commitee349fed5c448ac5084e144fd3a4dbe22eb76fa7 (patch)
tree3c42472b7995bcc24510e4a7b1a37695d24d3660 /libjava
parentde9c71784f46f751ae26a6be370d553791c062e7 (diff)
downloadgcc-ee349fed5c448ac5084e144fd3a4dbe22eb76fa7.tar.gz
* include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
qualifier to _regs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77484 138bc75d-0d04-0410-961f-82ee72b054a4
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 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 \