Re: [PATCH] RISC-V: If -m[no-]strict-align is not passed, assume its value from -mtune

2017-11-04 Thread Palmer Dabbelt
On Fri, 03 Nov 2017 09:14:10 PDT (-0700), Palmer Dabbelt wrote: > From: Andrew Waterman > > 2017-11-03 Andrew Waterman > > * config/riscv/riscv.c (riscv_option_override): Conditionally set > TARGET_STRICT_ALIGN based upon -mtune argument. > --- > gcc/config/riscv/riscv.c | 10 +

[PATCH] RISC-V: If -m[no-]strict-align is not passed, assume its value from -mtune

2017-11-03 Thread Palmer Dabbelt
From: Andrew Waterman 2017-11-03 Andrew Waterman * config/riscv/riscv.c (riscv_option_override): Conditionally set TARGET_STRICT_ALIGN based upon -mtune argument. --- gcc/config/riscv/riscv.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/gcc/c