Hi Kito,
Kito Cheng <kito.ch...@gmail.com> writes: > FAIL: gcc.c-torture/execute/string-opt-5.c > FAIL: gcc.target/riscv/shift-and-1.c scan-assembler-not andi > FAIL: gcc.target/riscv/shift-and-2.c scan-assembler-not andi string-opt-5.c is one of the newlib issues I mentioned (handcoded assembler for strcmp which assumed LE (it was intended to #error out on BE, but used "BYTE_ORDER" instead of "__BYTE_ORDER__", so the check never worked)). I'll send the fixes later today. The shift-and tests don't generate incorrect code or anything, but it's still puzzling why the generated code is different from with -mlittle-endian. // Marcus