Blob Blame History Raw
diff -Nrup a/configure b/configure
--- a/configure	2019-08-24 19:04:36.000000000 -0600
+++ b/configure	2019-12-19 14:22:22.305194031 -0700
@@ -14479,7 +14479,7 @@ nocrash_init (void)
 
        float x = (float)1.2;
         float y = (float)1.3;
-        float fun () { return x*y; }
+        __attribute__ ((noinline,noclone) float fun () { return x*y; }
         int main()
         { nocrash_init();
          {int val = (* (int (*) ()) fun) ();
@@ -15364,7 +15364,7 @@ fi
 
          mprotect_prog="$mprotect_prog"'
            char* area = (char*) malloc(6*pagesize);
-           char* fault_address = area + pagesize*7/2;
+           volatile char* fault_address = area + pagesize*7/2;
          '
          if test -z "$no_mprotect"; then
            if test "$cross_compiling" = yes; then :
@@ -16534,8 +16534,8 @@ else
                         {
                           unsigned int pagesize = getpagesize ();
                           int fd;
-                          char *pw;
-                          char *px;
+                          volatile char *pw;
+                          volatile char *px;
                           fd = open ("$filename", O_CREAT | O_RDWR | O_TRUNC, 0700);
                           if (fd < 0)
                             return 1;