This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, sched] Cleanup and improve multipass_dfa_lookahead_guard
- From: Maxim Kuvyrkov <maxim dot kuvyrkov at linaro dot org>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Vladimir Makarov <vmakarov at redhat dot com>, Jim Wilson <jimwilso at cisco dot com>, "David Edelsohn (dje dot gcc at gmail dot com)" <dje dot gcc at gmail dot com>
- Date: Fri, 23 May 2014 19:35:22 +1200
- Subject: Re: [PATCH, sched] Cleanup and improve multipass_dfa_lookahead_guard
- Authentication-results: sourceware.org; auth=none
- References: <FECDDDDD-CB42-4560-B14B-27930564368C at linaro dot org> <871tvlot4x dot fsf at igel dot home>
On May 23, 2014, at 7:23 PM, Andreas Schwab <schwab@linux-m68k.org> 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
www.linaro.org
2014-05-23 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
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