http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57980
Bug ID: 57980 Summary: gcc 4.8.1 -foptimize-sibling-calls -O1 ICE in build_int_cst_wide, at tree.c:1210 Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: zeccav at gmail dot com From a testsuite code, fpsub32s.c, compiling it with -O1 -foptimize-sibling-calls I get an ICE in build_int_cst_wide, at tree.c:1210. As in the following: /*gcc 4.8.1 -foptimize-sibling-calls -O1 ICE in build_int_cst_wide, at tree.c:1210*/ typedef int vec32 __attribute__((vector_size(4))); vec32 f(void); vec32 bar(void) { return - f (); } /* gccerr3.c: In function ‘bar’: gccerr3.c:9:1: internal compiler error: in build_int_cst_wide, at tree.c:1210 } ^ 0x93a5db build_int_cst_wide(tree_node*, unsigned long, long) ../../gcc-4.8.1/gcc/tree.c:1210 0x93a785 double_int_to_tree(tree_node*, double_int) ../../gcc-4.8.1/gcc/tree.c:1064 0x93a7aa build_int_cst(tree_node*, long) ../../gcc-4.8.1/gcc/tree.c:1041 0x8f35b0 process_assignment ../../gcc-4.8.1/gcc/tree-tailcall.c:332 0x8f35b0 find_tail_calls ../../gcc-4.8.1/gcc/tree-tailcall.c:535 0x8f3c02 tree_optimize_tail_calls_1 ../../gcc-4.8.1/gcc/tree-tailcall.c:941 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. */