在 2026-5-29 17:57, Uros Bizjak 写道:
Hello,Compiling the testcase in the attached patch with `gcc -O2` produces this instruction: 8d 04 05 01 00 00 00 lea 0x1(,%rax,1),%eax This patch rewrites it into the shorter equivalent: 8d 40 01 lea 0x1(%rax),%eax I have bootstrapped GCC with C and C++ with this change on x86_64-linux-gnu, and ran gcc and g++ testsuites and there was no new failure. (I didn't run all tests, since it would take too much time; bootstrapping and running only gcc and g++ tests already took 6 hours for each iteration.) I have also bootstrapped GCC on x86_64-w64-mingw32 and i686-w64-mingw32 and seen no new issues. I don't have write access to GCC repo, so please commit this change for me as you see fit. Thanks.
I don't see it on master branch. Would you please commit it? Thanks. -- Best regards, LIU Hao
OpenPGP_signature.asc
Description: OpenPGP digital signature
