epiphany: Enable Ada run-time build
authorSebastian Huber <sebastian.huber@embedded-brains.de>
Mon, 8 Jan 2018 09:17:20 +0000 (09:17 +0000)
committerSebastian Huber <sh@gcc.gnu.org>
Mon, 8 Jan 2018 09:17:20 +0000 (09:17 +0000)
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
gcc/config/epiphany/epiphany.h

index c203ae9d7d818d1f3a2941f61aa3b270c94fc8cb..bcbb551f0536cb9e38d0eec82dce29b8aeaa0384 100644 (file)
@@ -1,3 +1,10 @@
+2018-01-08  Sebastian Huber  <sebastian.huber@embedded-brains.de>
+
+       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  <sebastian.huber@embedded-brains.de>
 
        * config/nios2/nios2.h (nios2_section_threshold): Guard by not
index b771e0155e55c25e8951ce1d9aa32585943d7654..d8c0f2dc3c5cf96ff876fa5999e5dc4c8d7295e5 100644 (file)
@@ -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