Re: [PATCH] Fix -Wshadow=local warnings and a minor bug in expr.c

2019-10-04 Thread Jeff Law
On 10/4/19 6:01 AM, Richard Sandiford wrote: > Bernd Edlinger writes: >> @@ -4481,16 +4478,16 @@ emit_push_insn (rtx x, machine_mode mode, tree typ >>/* Get the address of the stack space. >> In this case, we do not deal with EXTRA separately. >> A single stack adjust w

Re: [PATCH] Fix -Wshadow=local warnings and a minor bug in expr.c

2019-10-04 Thread Richard Sandiford
Bernd Edlinger writes: > @@ -4481,16 +4478,16 @@ emit_push_insn (rtx x, machine_mode mode, tree typ > /* Get the address of the stack space. >In this case, we do not deal with EXTRA separately. >A single stack adjust will do. */ > - poly_int64 offset; > +

[PATCH] Fix -Wshadow=local warnings and a minor bug in expr.c

2019-10-03 Thread Bernd Edlinger
Hi, this fixes a few -Wshadow=local warnings in expr.c, and a minor bug in expand_assignment. The problem is the value if to_mode is usually GET_MODE (to_rtx), concat_store_slow:; rtx temp = assign_stack_temp (to_mode, GET_MOD