[TER] PR target/48863 : Don't replace expressions across local register variable definitions
PR target/48863 PR inline-asm/70184 * tree-ssa-ter.c (temp_expr_table): Add reg_vars_cnt field. (new_temp_expr_table): Initialise reg_vars_cnt. (free_temp_expr_table): Release reg_vars_cnt. (process_replaceable): Add reg_vars_cnt argument, set reg_vars_cnt field of TAB. (find_replaceable_in_bb): Use the above to record register variable write occurrences and cancel replacement across them. * gcc.target/arm/pr48863.c: New test. From-SVN: r242840
Showing
gcc/testsuite/gcc.target/arm/pr48863.c
0 → 100644
Please
register
or
sign in
to comment