aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/epiphany/epiphany.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ef19166..aa1c22a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2013-12-02 Joern Rennecke <joern.rennecke@embecosm.com>
+
+ * config/epiphany/epiphany.h: Wrap rtl_opt_pass declarations
+ in #ifndef IN_LIBGCC2 / #endif.
+
2013-12-02 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/59358
diff --git a/gcc/config/epiphany/epiphany.h b/gcc/config/epiphany/epiphany.h
index f16ab85..faa25557 100644
--- a/gcc/config/epiphany/epiphany.h
+++ b/gcc/config/epiphany/epiphany.h
@@ -929,8 +929,10 @@ enum
};
extern int epiphany_normal_fp_rounding;
+#ifndef IN_LIBGCC2
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
/* This will need to be adjusted when FP_CONTRACT_ON is properly
implemented. */