http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56515



             Bug #: 56515

           Summary: location references block not in block tree,

                    verify_gimple failed (LTO + profile)

    Classification: Unclassified

           Product: gcc

           Version: 4.8.0

            Status: UNCONFIRMED

          Severity: normal

          Priority: P3

         Component: lto

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: d.g.gorbac...@gmail.com





GCC 4.8.0 20130303 (experimental):



foo.c: In function 'foo':

foo.c:1:6: error: location references block not in block tree

 void foo(void) { }

      ^

# .MEM_10 = VDEF <.MEM_6(D)>

bar = 1;



foo.c:1:6: internal compiler error: verify_gimple failed

0x85df8f2 verify_gimple_in_cfg(function*)

    ../../gcc-4.8/gcc/tree-cfg.c:4727

0x84d520c execute_function_todo

    ../../gcc-4.8/gcc/passes.c:1963

0x84d455d do_per_function

    ../../gcc-4.8/gcc/passes.c:1701

0x84d532d execute_todo

    ../../gcc-4.8/gcc/passes.c:1996

0x84d57a1 execute_one_ipa_transform_pass

    ../../gcc-4.8/gcc/passes.c:2182

0x84d5873 execute_all_ipa_transforms()

    ../../gcc-4.8/gcc/passes.c:2208

0x8206775 expand_function

    ../../gcc-4.8/gcc/cgraphunit.c:1633

0x8206cda expand_all_functions

    ../../gcc-4.8/gcc/cgraphunit.c:1744

0x8207763 compile()

    ../../gcc-4.8/gcc/cgraphunit.c:2042

0x816b85d lto_main()

    ../../gcc-4.8/gcc/lto/lto.c:3396

Reply via email to