From 34113d650eb2cb7b10e4f218a7857a53ba32c81f Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 8 Jan 2018 09:17:20 +0000 Subject: [PATCH] epiphany: Enable Ada run-time build gcc/ PR target/83681 * config/epiphany/epiphany.h (make_pass_mode_switch_use): Guard by not USED_FOR_TARGET. (make_pass_resolve_sw_modes): Likewise. From-SVN: r256331 --- gcc/ChangeLog | 7 +++++++ gcc/config/epiphany/epiphany.h | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c203ae9d7d8..bcbb551f053 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2018-01-08 Sebastian Huber + + PR target/83681 + * config/epiphany/epiphany.h (make_pass_mode_switch_use): Guard + by not USED_FOR_TARGET. + (make_pass_resolve_sw_modes): Likewise. + 2018-01-08 Sebastian Huber * config/nios2/nios2.h (nios2_section_threshold): Guard by not diff --git a/gcc/config/epiphany/epiphany.h b/gcc/config/epiphany/epiphany.h index b771e0155e5..d8c0f2dc3c5 100644 --- a/gcc/config/epiphany/epiphany.h +++ b/gcc/config/epiphany/epiphany.h @@ -879,7 +879,7 @@ enum }; extern int epiphany_normal_fp_rounding; -#ifndef IN_LIBGCC2 +#ifndef USED_FOR_TARGET extern rtl_opt_pass *make_pass_mode_switch_use (gcc::context *ctxt); extern rtl_opt_pass *make_pass_resolve_sw_modes (gcc::context *ctxt); #endif -- 2.30.2