From: Trevor Saunders Date: Fri, 21 Aug 2015 01:14:46 +0000 (+0000) Subject: always define HAVE_conditional_execution X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e1f60ccfab4f48ee996cf11f80b8baeee371def8;p=gcc.git always define HAVE_conditional_execution gcc/ChangeLog: 2015-08-20 Trevor Saunders * genconfig.c (main): Always define HAVE_CONDITIONAL_EXECUTION. * targhooks.c (default_have_conditional_execution): Adjust. From-SVN: r227049 --- 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 + + * genconfig.c (main): Always define HAVE_CONDITIONAL_EXECUTION. + * targhooks.c (default_have_conditional_execution): Adjust. + 2015-08-20 Richard Sandiford * 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,