disable compiler over-optimization on qt_args(), in which the SHIFTSP fails to move...
authorGengbin Zheng <gzheng@illinois.edu>
Thu, 30 Aug 2012 21:14:29 +0000 (14:14 -0700)
committerGengbin Zheng <gzheng@illinois.edu>
Thu, 30 Aug 2012 21:14:29 +0000 (14:14 -0700)
src/QuickThreads/md/setjmp64.c
src/QuickThreads/md/setjmp64_.c

index a83b337201001645083f43be9c78a09451f5f03f..943514e8dd48af149bea7580da4b041e702878c8 100644 (file)
@@ -60,6 +60,8 @@ static void qt_args_1(qt_t *rjb, void *u, void *t,
   write(2,"Never get here 2.\n",18);
 }
 
+qt_t *qt_args(qt_t *sp, void *u, void *t, qt_userf_t *userf, qt_only_t *only)  __attribute__((optimize(0)));
+
 qt_t *qt_args(qt_t *sp, void *u, void *t,
              qt_userf_t *userf, qt_only_t *only)
 {
index f1f035e00a87d9dab694954d5e0a0d9a5d6b3e8f..4c8146f139fd2175c4dd4373294314ff08b43307 100644 (file)
@@ -66,6 +66,8 @@ static void qt_args_1(qt_t *rjb, void *u, void *t,
   write(2,"Never get here 2.\n",18);
 }
 
+qt_t *qt_args(qt_t *sp, void *u, void *t, qt_userf_t *userf, qt_only_t *only)  __attribute__((optimize(0)));
+
 qt_t *qt_args(qt_t *sp, void *u, void *t,
              qt_userf_t *userf, qt_only_t *only)
 {