https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68317
Bug ID: 68317 Summary: ice in set_value_range, at tree-vrp.c:380 Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Created attachment 36698 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36698&action=edit C source code I just tried to compile the attached code with gcc trunk dated 20151112 and the compiler flag -O2 and the compiler said ../results/bin/gcc -c -O2 bug243.c chipset_enable.c: In function ‘enable_flash_ich_fwh_decode’: chipset_enable.c:380:12: internal compiler error: in set_value_range, at tree-vrp.c:380 0xddf4b0 set_value_range ../../src/trunk/gcc/tree-vrp.c:379 0xdf2d1f adjust_range_with_scev ../../src/trunk/gcc/tree-vrp.c:4334 0xdf2d1f vrp_visit_phi_node ../../src/trunk/gcc/tree-vrp.c:8853 0xd05d0d simulate_stmt ../../src/trunk/gcc/tree-ssa-propagate.c:327 0xd0604f process_ssa_edge_worklist ../../src/trunk/gcc/tree-ssa-propagate.c:456 0xd07655 ssa_propagate(ssa_prop_result (*)(gimple*, edge_def**, tree_node**), ssa_prop_result (*)(gphi*)) ../../src/trunk/gcc/tree-ssa-propagate.c:937 0xded7b4 execute_vrp ../../src/trunk/gcc/tree-vrp.c:10315 0xded7b4 execute ../../src/trunk/gcc/tree-vrp.c:10395 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions.