diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-09-25 16:34:03 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-09-25 16:34:03 +0000 |
commit | 150967ab3e701c1e3c36eef4f538127da74b8eea (patch) | |
tree | 512461dc746fb0333eae58daf7e1aa6a0239b40f /gcc | |
parent | 716a679efcb6634cf795d08d81261947142db30d (diff) | |
download | gcc-150967ab3e701c1e3c36eef4f538127da74b8eea.tar.gz |
* lra.c (lra_set_insn_recog_data): Fix typo in comment.
* genautomata.c (merge_states): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215610 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/genautomata.c | 2 | ||||
-rw-r--r-- | gcc/lra.c | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 607dc95da76..3bf52a6801c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-09-25 Felix Yang <felix.yang@huawei.com> + + * lra.c (lra_set_insn_recog_data): Fix typo in comment. + * genautomata.c (merge_states): Ditto. + 2014-09-25 Oleg Endo <olegendo@gcc.gnu.org> PR target/62218 diff --git a/gcc/genautomata.c b/gcc/genautomata.c index da18e5da2f1..8d0d87d10c2 100644 --- a/gcc/genautomata.c +++ b/gcc/genautomata.c @@ -6178,7 +6178,7 @@ merge_states (automaton_t automaton, vec<state_t> equiv_classes) alt_states = new_alt_state; } } - /* Its is important that alt states were sorted before and + /* It is important that alt states were sorted before and after merging to have the same querying results. */ new_state->component_states = uniq_sort_alt_states (alt_states); } diff --git a/gcc/lra.c b/gcc/lra.c index acec8af9368..e9194bbd8b6 100644 --- a/gcc/lra.c +++ b/gcc/lra.c @@ -933,7 +933,7 @@ lra_set_insn_recog_data (rtx_insn *insn) nalt = 1; if (nop < 0) { - /* Its is a special insn like USE or CLOBBER. We should + /* It is a special insn like USE or CLOBBER. We should recognize any regular insn otherwise LRA can do nothing with this insn. */ gcc_assert (GET_CODE (PATTERN (insn)) == USE |