IIRC, the reason is that, under strict alignment, it can be assumed
that accessing subfields of an aligned datatype won't cross a boundary
that would cause the high part to change, thus requiring a different
LUI instruction for the subfield access. Under non-strict alignment,
this assumption doesn
Hi,
When -mstrict-align was added for RISC-V, there was a change for
riscv_valid_lo_sum_p:
@@ -726,7 +733,8 @@ riscv_valid_lo_sum_p (enum riscv_symbol_type
sym_type, enum
machine_mode mode)
/* We may need to split multiword moves, so make sure that each word
can be accessed without indu