diff options
Diffstat (limited to 'gcc/ree.c')
-rw-r--r-- | gcc/ree.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/ree.c b/gcc/ree.c index 5edf44d675e..1d0f1949b80 100644 --- a/gcc/ree.c +++ b/gcc/ree.c @@ -233,12 +233,10 @@ along with GCC; see the file COPYING3. If not see #include "recog.h" #include "diagnostic-core.h" #include "target.h" -#include "timevar.h" #include "optabs.h" #include "insn-codes.h" #include "rtlhooks-def.h" #include "params.h" -#include "timevar.h" #include "tree-pass.h" #include "df.h" #include "cgraph.h" @@ -804,7 +802,7 @@ add_removable_extension (const_rtx expr, rtx insn, different extension. FIXME: this obviously can be improved. */ for (def = defs; def; def = def->next) if ((idx = def_map[INSN_UID(DF_REF_INSN (def->ref))]) - && (cand = VEC_index (ext_cand, *insn_list, idx - 1)) + && (cand = &VEC_index (ext_cand, *insn_list, idx - 1)) && (cand->code != code || cand->mode != mode)) { if (dump_file) |