https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97760
Bug ID: 97760 Summary: GCC outputs wrong values when compiling the testcase with -O3 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: yangyang305 at huawei dot com Target Milestone: --- Hi, gcc-trunk outputs wrong values when compiling the attached testcase with -O3. gcc -O0 test.c -w && ./a.out 159,150,150 150 gcc -O3 test.c -w && ./a.out 159,123,123 123 GCC version: 11.0.0 20201106 (experimental)