diff mbox

Committed: fix epiphany libgcc build

Message ID 20131202182645.kx8xkp7lkw4k84kg-nzlynne@webmail.spamcop.net
State New
Headers show

Commit Message

Joern Rennecke Dec. 2, 2013, 11:26 p.m. UTC
2013-12-02  Joern Rennecke  <joern.rennecke@embecosm.com>

	* config/epiphany/epiphany.h: Wrap rtl_opt_pass declarations
	in #ifndef IN_LIBGCC2 / #endif.
diff mbox

Patch

Index: config/epiphany/epiphany.h
===================================================================
--- config/epiphany/epiphany.h	(revision 205586)
+++ config/epiphany/epiphany.h	(working copy)
@@ -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.  */