This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, sched] Cleanup and improve multipass_dfa_lookahead_guard

On May 23, 2014, at 7:23 PM, Andreas Schwab <> wrote:

> ../../gcc/config/ia64/ia64.c: In function 'int ia64_first_cycle_multipass_dfa_lookahead_guard(rtx, int)':
> ../../gcc/config/ia64/ia64.c:7551:1: error: control reaches end of non-void function [-Werror=return-type]

Fixed, sorry about the breakage.  The patch is trivial.

Thank you,

Maxim Kuvyrkov

2014-05-23  Maxim Kuvyrkov  <>

	Fix bootstrap error on ia64
	* config/ia64/ia64.c (ia64_first_cycle_multipass_dfa_lookahead_guard):
	Return default value.

Index: gcc/config/ia64/ia64.c
--- gcc/config/ia64/ia64.c	(revision 210844)
+++ gcc/config/ia64/ia64.c	(working copy)
@@ -7548,6 +7548,8 @@ ia64_first_cycle_multipass_dfa_lookahead_guard
 	  || !is_load_p (insn)
 	  || mem_ops_in_group[current_cycle % 4] < ia64_max_memory_insns))
     return 0;
+  return 1;
 /* The following variable value is pseudo-insn used by the DFA insn

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]