https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68917
--- Comment #5 from Chen Gang <gang.chen.5i5j at gmail dot com> --- (In reply to Bernd Edlinger from comment #1) > does something like this help? > OK, it has effect, :-) And pass gcc testsuite. The related result is below: [root@localhost contrib]# ./compare_tests ../../build-gcc-cur ../../build-gcc-cur-new # Comparing directories ## Dir1=../../build-gcc-cur: 2 sum files ## Dir2=../../build-gcc-cur-new: 2 sum files # Comparing 2 common sum files ## /bin/sh ./compare_tests /tmp/gxx-sum1.1535 /tmp/gxx-sum2.1535 Tests that now work, but didn't before: tile: gcc.c-torture/execute/builtin-bitops-1.c -O0 (test for excess errors) tile: gcc.c-torture/execute/builtin-bitops-1.c -O1 (test for excess errors) tile: gcc.c-torture/execute/builtin-bitops-1.c -O2 (test for excess errors) tile: gcc.c-torture/execute/builtin-bitops-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none (test for excess errors) tile: gcc.c-torture/execute/builtin-bitops-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects (test for excess errors) tile: gcc.c-torture/execute/builtin-bitops-1.c -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions (test for excess errors) tile: gcc.c-torture/execute/builtin-bitops-1.c -O3 -g (test for excess errors) tile: gcc.c-torture/execute/builtin-bitops-1.c -Os (test for excess errors) tile: gcc.dg/builtin-protos-1.c (test for excess errors) tile: gcc.dg/tree-ssa/vrp89.c (test for excess errors) New tests that PASS: tile: gcc.c-torture/execute/builtin-bitops-1.c -O0 execution test tile: gcc.c-torture/execute/builtin-bitops-1.c -O1 execution test tile: gcc.c-torture/execute/builtin-bitops-1.c -O2 execution test tile: gcc.c-torture/execute/builtin-bitops-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none execution test tile: gcc.c-torture/execute/builtin-bitops-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects execution test tile: gcc.c-torture/execute/builtin-bitops-1.c -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions execution test tile: gcc.c-torture/execute/builtin-bitops-1.c -O3 -g execution test tile: gcc.c-torture/execute/builtin-bitops-1.c -Os execution test Old tests that failed, that have disappeared: (Eeek!) tile: gcc.c-torture/execute/builtin-bitops-1.c -O0 (internal compiler error) tile: gcc.c-torture/execute/builtin-bitops-1.c -O1 (internal compiler error) tile: gcc.c-torture/execute/builtin-bitops-1.c -O2 (internal compiler error) tile: gcc.c-torture/execute/builtin-bitops-1.c -O2 -flto -fno-use-linker-plugin -flto-partition=none (internal compiler error) tile: gcc.c-torture/execute/builtin-bitops-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects (internal compiler error) tile: gcc.c-torture/execute/builtin-bitops-1.c -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions (internal compiler error) tile: gcc.c-torture/execute/builtin-bitops-1.c -O3 -g (internal compiler error) tile: gcc.c-torture/execute/builtin-bitops-1.c -Os (internal compiler error) tile: gcc.dg/builtin-protos-1.c (internal compiler error) tile: gcc.dg/tree-ssa/vrp89.c (internal compiler error) # No differences found in 2 common sum files [root@localhost contrib]#