Hello!

There is no point to handle exceptions at the program startup time.

2018-09-26  Uros Bizjak  <ubiz...@gmail.com>

    * config/i386/crtprec.c (set_precision): Use fnstcw instead of fstcw.

Bootstrapped and regression tested on x86_64-linux-gnu {,-m32}.

Committed to mainline SVN.

Uros.
Index: config/i386/crtprec.c
===================================================================
--- config/i386/crtprec.c       (revision 264643)
+++ config/i386/crtprec.c       (working copy)
@@ -39,7 +39,7 @@ set_precision (void)
 {
   unsigned short int cwd;
 
-  asm volatile ("fstcw\t%0" : "=m" (cwd));
+  asm volatile ("fnstcw\t%0" : "=m" (cwd));
 
   cwd &= ~X87CW_PCMASK;
   cwd |= X87CW;

Reply via email to