i386-signal.h (MAKE_THROW_FRAME): Add volatile qualifier to _regs.
authorDiego Novillo <dnovillo@redhat.com>
Sun, 8 Feb 2004 16:51:03 +0000 (16:51 +0000)
committerDiego Novillo <dnovillo@gcc.gnu.org>
Sun, 8 Feb 2004 16:51:03 +0000 (11:51 -0500)
* include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
qualifier to _regs.

From-SVN: r77484

libjava/ChangeLog
libjava/include/i386-signal.h

index 69795b95001ea16f789bc3a3f9ea725590fc1395..0f981016e5ee7a85c7e9c2ac182801e1de89dac3 100644 (file)
@@ -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
index 280b72e55860733aa9972acb458ea73f685bc331..c581e2d00eeac2367f830ad8562bc1ddf8ef7655 100644 (file)
@@ -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                   \