summaryrefslogtreecommitdiff
path: root/gcc/genautomata.c
diff options
context:
space:
mode:
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-29 00:12:44 +0000
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-29 00:12:44 +0000
commit47a928a49a1aff16bda912198061b6dce8dec5ea (patch)
treeb90a930be5874988abc55bf15a33cb66a3d1e834 /gcc/genautomata.c
parent2cf26c5144d9c231924cea5835b7bc092eaff522 (diff)
downloadgcc-47a928a49a1aff16bda912198061b6dce8dec5ea.tar.gz
dfa_clear_single_insn_cache takes an rtx_insn
gcc/ 2014-08-28 David Malcolm <dmalcolm@redhat.com> * genattr.c (main): When writing out insn-attr.h, strengthen param of dfa_clear_single_insn_cache from rtx to rtx_insn *. * genautomata.c (output_dfa_clean_insn_cache_func): Likewise when writing out the definition of dfa_clear_single_insn_cache to the generated insn-automata.c git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214703 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genautomata.c')
-rw-r--r--gcc/genautomata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/genautomata.c b/gcc/genautomata.c
index 3cd4d3a5009..a4501e94a66 100644
--- a/gcc/genautomata.c
+++ b/gcc/genautomata.c
@@ -8731,7 +8731,7 @@ output_dfa_clean_insn_cache_func (void)
DFA_INSN_CODES_VARIABLE_NAME, I_VARIABLE_NAME);
fprintf (output_file,
- "void\n%s (rtx %s)\n{\n int %s;\n\n",
+ "void\n%s (rtx_insn *%s)\n{\n int %s;\n\n",
DFA_CLEAR_SINGLE_INSN_CACHE_FUNC_NAME, INSN_PARAMETER_NAME,
I_VARIABLE_NAME);
fprintf (output_file,