i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Add volatile qualifier to _regs.
authorDiego Novillo <dnovillo@gcc.gnu.org>
Sun, 8 Feb 2004 17:13:50 +0000 (12:13 -0500)
committerDiego Novillo <dnovillo@gcc.gnu.org>
Sun, 8 Feb 2004 17:13:50 +0000 (12:13 -0500)
* include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Add volatile
qualifier to _regs.

From-SVN: r77489

libjava/include/i386-signal.h

index c581e2d..8195972 100644 (file)
@@ -40,7 +40,7 @@ while (0)
 do                                                                     \
 {                                                                      \
   void **_p = (void **)&_dummy;                                                \
-  struct sigcontext_struct *_regs = (struct sigcontext_struct *)++_p;  \
+  volatile struct sigcontext_struct *_regs = (struct sigcontext_struct *)++_p;\
                                                                        \
   register unsigned char *_eip = (unsigned char *)_regs->eip;          \
                                                                        \