http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48193
Summary: [4.7 Regression] ICE: verify_ssa failed: type mismatch between an SSA_NAME and its symbol with -flto --param partial-inlining-entry-probability=101 Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: zso...@seznam.cz Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Created attachment 23712 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23712 reduced testcase Compiler output: $ gcc -O2 -flto --param partial-inlining-entry-probability=101 testcase.c testcase.c: In function 'foo': testcase.c:6:5: error: type mismatch between an SSA_NAME and its symbol testcase.c:6:5: error: in statement # VUSE <.MEM_10> return x_12; testcase.c:6:5: internal compiler error: verify_ssa failed Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. (gdb) bt #0 error (gmsgid=0x119c068 "type mismatch between an SSA_NAME and its symbol") at /mnt/svn/gcc-trunk/gcc/diagnostic.c:747 #1 0x0000000000a0f5f5 in verify_ssa_name (ssa_name=0x7ffff5bee528, is_virtual=Unhandled dwarf expression opcode 0xf3 ) at /mnt/svn/gcc-trunk/gcc/tree-ssa.c:590 #2 0x0000000000a1273e in verify_ssa (check_modified_stmt=1 '\001') at /mnt/svn/gcc-trunk/gcc/tree-ssa.c:1009 #3 0x00000000007f8429 in execute_function_todo (data=Unhandled dwarf expression opcode 0xf3 ) at /mnt/svn/gcc-trunk/gcc/passes.c:1240 #4 0x00000000007f8b1d in execute_todo (flags=2132516) at /mnt/svn/gcc-trunk/gcc/passes.c:1271 #5 0x00000000007faeb3 in execute_one_ipa_transform_pass () at /mnt/svn/gcc-trunk/gcc/passes.c:1463 #6 execute_all_ipa_transforms () at /mnt/svn/gcc-trunk/gcc/passes.c:1487 #7 0x000000000093f8bd in tree_rest_of_compilation (fndecl=0x7ffff5bcef00) at /mnt/svn/gcc-trunk/gcc/tree-optimize.c:415 #8 0x0000000000b0fc42 in cgraph_expand_function (node=0x7ffff5bef000) at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:1576 #9 0x0000000000b1239a in cgraph_expand_all_functions () at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:1635 #10 cgraph_optimize () at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:1899 #11 0x0000000000b1291a in cgraph_finalize_compilation_unit () at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:1096 #12 0x0000000000509124 in c_write_global_declarations () at /mnt/svn/gcc-trunk/gcc/c-decl.c:9872 #13 0x00000000008e7ca8 in compile_file (argc=18, argv=0x7fffffffdc18) at /mnt/svn/gcc-trunk/gcc/toplev.c:591 Tested revisions: r171152 - crash r171088 - crash 4.6 r170955 - OK