This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [MIPS] RFA: Use new rtl iterators in r10k_needs_protection_p_1
- From: Matthew Fortune <Matthew dot Fortune at imgtec dot com>
- To: Richard Sandiford <rdsandiford at googlemail dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Cc: "clm at codesourcery dot com" <clm at codesourcery dot com>
- Date: Sat, 25 Oct 2014 20:54:40 +0000
- Subject: RE: [MIPS] RFA: Use new rtl iterators in r10k_needs_protection_p_1
- Authentication-results: sourceware.org; auth=none
- References: <87r3xwxzgr dot fsf at googlemail dot com>
> gcc/
> * config/mips/mips.c (r10k_needs_protection_p_1): Take an rtx
> rather than an rtx pointer. Change type of insn from "void *"
> to its real type. Return bool rather than int. Iterate over
> all subrtxes here.
> (r10k_needs_protection_p_store): Update accordingly.
> (r10k_needs_protection_p): Likewise.
OK