[Bug lto/97812] Wrong output when compiling the testcase with -O2 -flto

2020-11-12 Thread qiaopeixin at huawei dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97812 --- Comment #4 from qiaopeixin at huawei dot com --- (In reply to Martin Liška from comment #2) > Which git revision of GCC 11 do you use? Test it using GCC 11 with commit id 3c3beb1a8137460bc485f9fbe3be8b21ee7f91a2 just now and it also fails. It

[Bug lto/97812] Wrong output when compiling the testcase with -O2 -flto

2020-11-12 Thread qiaopeixin at huawei dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97812 --- Comment #3 from qiaopeixin at huawei dot com --- (In reply to Jakub Jelinek from comment #1) > On which target? Can't reproduce on x86_64-linux. aarch64

[Bug lto/97812] New: Wrong output when compiling the testcase with -O2 -flto

2020-11-12 Thread qiaopeixin at huawei dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97812 Bug ID: 97812 Summary: Wrong output when compiling the testcase with -O2 -flto Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priorit