http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58723
--- Comment #6 from Tobias Burnus <burnus at gcc dot gnu.org> --- (In reply to Richard Biener from comment #5) > Created attachment 31299 [details] > Patch fixing the testcase (but otherwise untested - we don't have too many > internal fn testcases). Doesn't work for me. With the test case of comment 0 (attachment 31000) I get with g++ -std=c++11 -fopenmp -flto -O1 test.ii the - new - ICE cc1plus: internal compiler error: in expand_call_inline, at tree-inline.c:4076 0xc046a9 expand_call_inline ../../gcc/tree-inline.c:4076 0xc046a9 gimple_expand_calls_inline ../../gcc/tree-inline.c:4430 0xc046a9 optimize_inline_calls(tree_node*) ../../gcc/tree-inline.c:4569 0x109bbdb inline_transform(cgraph_node*) ../../gcc/ipa-inline-transform.c:435