https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63914
Bug ID: 63914 Summary: ice in set_lattice_value, at tree-ssa-ccp.c:517 Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Created attachment 34003 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34003&action=edit gzipped C source code I just tried to compile the attached C code with the latest trunk dated 20141116 on a Fedora Linux x86_64 box. The compiler said $ ../results/bin/gcc -std=c99 -O2 -ffast-math -c bug176.c /home/dcb/rpmbuild/BUILD/darktable-1.4.2/src/common/interpolation.c: In function ‘dt_interpolation_compute_pixel4c’: /home/dcb/rpmbuild/BUILD/darktable-1.4.2/src/common/interpolation.c:879:1: internal compiler error: in set_lattice_value, at tree-ssa-ccp.c:517 dt_interpolation_compute_pixel4c( ^ 0xbac75e set_lattice_value(tree_node*, ccp_prop_value_t) ../../src/trunk/gcc/tree-ssa-ccp.c:517 0xbac8e1 visit_assignment(gimple_statement_base*, tree_node**) ../../src/trunk/gcc/tree-ssa-ccp.c:2256 0xba465e ccp_visit_stmt(gimple_statement_base*, edge_def**, tree_node**) ../../src/trunk/gcc/tree-ssa-ccp.c:2325 0xc1e6c9 simulate_stmt(gimple_statement_base*) ../../src/trunk/gcc/tree-ssa-propagate.c:340 0xc1d387 process_ssa_edge_worklist(vec<gimple_statement_base*, va_heap, vl_ptr>*) ../../src/trunk/gcc/tree-ssa-propagate.c:414 0xc1d039 ssa_propagate(ssa_prop_result (*)(gimple_statement_base*, edge_def**, tree_node**), ssa_prop_result (*)(gimple_statement_base*)) ../../src/trunk/gcc/tree-ssa-propagate.c:885 0xba4021 do_ssa_ccp() ../../src/trunk/gcc/tree-ssa-ccp.c:2371 0xba4021 (anonymous namespace)::pass_ccp::execute(function*) ../../src/trunk/gcc/tree-ssa-ccp.c:2404 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. [dcb@zippy4 foundBugs]$ Flags -std=c99 -O2 -ffast-math required.