always define HAVE_conditional_execution
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>
Fri, 21 Aug 2015 01:14:46 +0000 (01:14 +0000)
committerTrevor Saunders <tbsaunde@gcc.gnu.org>
Fri, 21 Aug 2015 01:14:46 +0000 (01:14 +0000)
gcc/ChangeLog:

2015-08-20  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

* genconfig.c (main): Always define HAVE_CONDITIONAL_EXECUTION.
* targhooks.c (default_have_conditional_execution): Adjust.

From-SVN: r227049

gcc/ChangeLog
gcc/genconfig.c
gcc/targhooks.c

index 42abb92f7ff09835f5bc62be51f381a2cac79542..87cccef145de9487d2b2dc81d9302664f2704983 100644 (file)
@@ -1,3 +1,8 @@
+2015-08-20  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
+
+       * genconfig.c (main): Always define HAVE_CONDITIONAL_EXECUTION.
+       * targhooks.c (default_have_conditional_execution): Adjust.
+
 2015-08-20  Richard Sandiford  <richard.sandiford@arm.com>
 
        * rtl.h (rtvec_all_equal_p): Declare.
index ac16c5ba8b297d149b89296122b9a0e86c794d0f..acbf381fa177caea5d41b8e12d6c33389c9812e5 100644 (file)
@@ -348,6 +348,8 @@ main (int argc, char **argv)
 
   if (have_cond_exec_flag)
     printf ("#define HAVE_conditional_execution 1\n");
+  else
+    printf ("#define HAVE_conditional_execution 0\n");
 
   if (have_lo_sum_flag)
     printf ("#define HAVE_lo_sum 1\n");
index 3eca47e988813969f22df8eda73a6e7ae843cdcf..7238c8f8013c339fec52daa255aa5054ca37f4cf 100644 (file)
@@ -1350,11 +1350,7 @@ default_case_values_threshold (void)
 bool
 default_have_conditional_execution (void)
 {
-#ifdef HAVE_conditional_execution
   return HAVE_conditional_execution;
-#else
-  return false;
-#endif
 }
 
 /* By default we assume that c99 functions are present at the runtime,