Commit e1f60ccf by Trevor Saunders Committed by Trevor Saunders

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.

From-SVN: r227049
parent 1fec569f
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> 2015-08-20 Richard Sandiford <richard.sandiford@arm.com>
* rtl.h (rtvec_all_equal_p): Declare. * rtl.h (rtvec_all_equal_p): Declare.
......
...@@ -348,6 +348,8 @@ main (int argc, char **argv) ...@@ -348,6 +348,8 @@ main (int argc, char **argv)
if (have_cond_exec_flag) if (have_cond_exec_flag)
printf ("#define HAVE_conditional_execution 1\n"); printf ("#define HAVE_conditional_execution 1\n");
else
printf ("#define HAVE_conditional_execution 0\n");
if (have_lo_sum_flag) if (have_lo_sum_flag)
printf ("#define HAVE_lo_sum 1\n"); printf ("#define HAVE_lo_sum 1\n");
......
...@@ -1350,11 +1350,7 @@ default_case_values_threshold (void) ...@@ -1350,11 +1350,7 @@ default_case_values_threshold (void)
bool bool
default_have_conditional_execution (void) default_have_conditional_execution (void)
{ {
#ifdef HAVE_conditional_execution
return HAVE_conditional_execution; return HAVE_conditional_execution;
#else
return false;
#endif
} }
/* By default we assume that c99 functions are present at the runtime, /* By default we assume that c99 functions are present at the runtime,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment