diff options
Diffstat (limited to 'gcc/unroll.c')
-rw-r--r-- | gcc/unroll.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/unroll.c b/gcc/unroll.c index d6dbcf0fbc1..c2297f91b1b 100644 --- a/gcc/unroll.c +++ b/gcc/unroll.c @@ -154,6 +154,7 @@ enum unroll_types { UNROLL_COMPLETELY, UNROLL_MODULO, UNROLL_NAIVE }; #include "regs.h" #include "recog.h" #include "flags.h" +#include "function.h" #include "expr.h" #include "loop.h" #include "toplev.h" @@ -1180,8 +1181,8 @@ unroll_loop (loop_end, insn_count, loop_start, end_insert_before, } /* Use our current register alignment and pointer flags. */ - map->regno_pointer_flag = regno_pointer_flag; - map->regno_pointer_align = regno_pointer_align; + map->regno_pointer_flag = current_function->emit->regno_pointer_flag; + map->regno_pointer_align = current_function->emit->regno_pointer_align; /* If the loop is being partially unrolled, and the iteration variables are being split, and are being renamed for the split, then must fix up |