summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4>2015-08-21 01:14:46 +0000
committertbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4>2015-08-21 01:14:46 +0000
commit9c80fc9f5e37bad0031260fd8c70356dcd35b46b (patch)
tree7443d07af38b949642aa20ad2549db1b75dee85a
parent4c529914197ba2c7c7044f6e9fbf53a00cf5792e (diff)
downloadgcc-9c80fc9f5e37bad0031260fd8c70356dcd35b46b.tar.gz
always define HAVE_conditional_execution
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227049 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/genconfig.c2
-rw-r--r--gcc/targhooks.c4
3 files changed, 7 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 42abb92f7ff..87cccef145d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/genconfig.c b/gcc/genconfig.c
index ac16c5ba8b2..acbf381fa17 100644
--- a/gcc/genconfig.c
+++ b/gcc/genconfig.c
@@ -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");
diff --git a/gcc/targhooks.c b/gcc/targhooks.c
index 3eca47e9888..7238c8f8013 100644
--- a/gcc/targhooks.c
+++ b/gcc/targhooks.c
@@ -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,