https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103321
Bug ID: 103321 Summary: [12 regression] ICE at tree-ssa.c:1211 after r12-5300 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- g:f98f373dd822b35c52356b753d528924e9f89678, r12-5300 I am seeing an ICE when building the spec2017 test case 445.gobmk /home/seurer/gcc/git/install/gcc-test/bin/gcc -c -o engine/value_moves.o -DSPEC_CPU -DNDEBUG -DHAVE_CONFIG_H -I. -I.. -I../include -I./include -m64 -O3 -mcpu=power8 -ffast-math -funroll-loops -fpeel-loops -fvect-cost-model -mpopcntd -mrecip=rsqrt engine/value_moves.c engine/value_moves.c: In function 'value_move_reasons': engine/value_moves.c:3030:1: error: definition in block 38 does not dominate use in block 37 3030 | } | ^ for SSA_NAME: iftmp.54_199 in statement: iftmp.54_143 = PHI <iftmp.54_199(37), _89(38)> PHI argument iftmp.54_199 for PHI node iftmp.54_143 = PHI <iftmp.54_199(37), _89(38)> during GIMPLE pass: phiopt engine/value_moves.c:3030:1: internal compiler error: verify_ssa failed 0x10f15523 verify_ssa(bool, bool) /home/seurer/gcc/git/gcc-test/gcc/tree-ssa.c:1211 0x10a6a65f execute_function_todo /home/seurer/gcc/git/gcc-test/gcc/passes.c:2049 0x10a6b8eb do_per_function /home/seurer/gcc/git/gcc-test/gcc/passes.c:1687 0x10a6bb0b execute_todo /home/seurer/gcc/git/gcc-test/gcc/passes.c:2096 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. specmake: *** [engine/value_moves.o] Error 1 Error with make 'specmake -j 1 build': check file '/home/seurer/gcc/cpu2006/benchspec/CPU2006/445.gobmk/build/build_base_ppc64.0000/make.err' Command returned exit code 2 Error with make! *** Error building 445.gobmk commit f98f373dd822b35c52356b753d528924e9f89678 Author: Richard Biener <rguent...@suse.de> Date: Mon Nov 15 15:19:36 2021 +0100 tree-optimization/102880 - make PHI-OPT recognize more CFGs