From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2869 invoked by alias); 9 Jan 2013 22:52:27 -0000 Received: (qmail 2734 invoked by uid 48); 9 Jan 2013 22:51:38 -0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/55792] [4.8 Regression] Bad memory access with profiledbootstrap and LTO Date: Wed, 09 Jan 2013 22:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.0 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2013-01/txt/msg00893.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55792 --- Comment #23 from H.J. Lu 2013-01-09 22:51:36 UTC --- The old BLOCK came from (gdb) bt #0 remap_block (block=0x7fffffffd690, id=0x7fffffffd840) at /export/gnu/import/git/gcc/gcc/tree-inline.c:624 #1 0x00000000009fe52a in remap_blocks (block=0x7ffff1393d20, id=0x7fffffffd840) at /export/gnu/import/git/gcc/gcc/tree-inline.c:645 #2 0x00000000009fe586 in remap_blocks (block=0x7ffff1385370, id=0x7fffffffd840) at /export/gnu/import/git/gcc/gcc/tree-inline.c:648 #3 0x00000000009fe586 in remap_blocks (block=0x7ffff1385320, id=0x7fffffffd840) at /export/gnu/import/git/gcc/gcc/tree-inline.c:648 ---Type to continue, or q to quit--- #4 0x00000000009fe586 in remap_blocks (block=0x7ffff1385280, id=0x7fffffffd840) at /export/gnu/import/git/gcc/gcc/tree-inline.c:648 #5 0x00000000009fe586 in remap_blocks (block=0x7ffff13851e0, id=0x7fffffffd840) at /export/gnu/import/git/gcc/gcc/tree-inline.c:648 #6 0x0000000000a0bc63 in tree_function_versioning (old_decl=0x7fffec94b400, new_decl=0x7fffe9105000, tree_map=0x0, update_clones=true, args_to_skip=0x0, skip_return=false, blocks_to_copy=0x0, new_entry=0x0) at /export/gnu/import/git/gcc/gcc/tree-inline.c:5225 ---Type to continue, or q to quit--- #7 0x00000000007d2d05 in save_inline_function_body (node=0x7ffff1753818) at /export/gnu/import/git/gcc/gcc/ipa-inline-transform.c:354 #8 0x00000000007d2ec6 in inline_transform (node=0x7ffff1753818) at /export/gnu/import/git/gcc/gcc/ipa-inline-transform.c:411 #9 0x00000000008adbe3 in execute_one_ipa_transform_pass (node=0x7ffff1753818, ipa_pass=0x16cfc80 ) at /export/gnu/import/git/gcc/gcc/passes.c:2177 #10 0x00000000008add31 in execute_all_ipa_transforms () at /export/gnu/import/git/gcc/gcc/passes.c:2213 #11 0x00000000005da348 in expand_function (node=0x7ffff1753818) at /export/gnu/import/git/gcc/gcc/cgraphunit.c:1634 ---Type to continue, or q to quit--- #12 0x00000000005da821 in expand_all_functions () at /export/gnu/import/git/gcc/gcc/cgraphunit.c:1745 #13 0x00000000005db2ab in compile () at /export/gnu/import/git/gcc/gcc/cgraphunit.c:2043 #14 0x000000000053c60a in lto_main () at /export/gnu/import/git/gcc/gcc/lto/lto.c:3390 #15 0x0000000000999401 in compile_file () at /export/gnu/import/git/gcc/gcc/toplev.c:545 #16 0x000000000099b3e4 in do_compile () at /export/gnu/import/git/gcc/gcc/toplev.c:1878 #17 0x000000000099b54f in toplev_main (argc=28, argv=0x7fffffffdc78) at /export/gnu/import/git/gcc/gcc/toplev.c:1954 #18 0x0000000000fff958 in main (argc=28, argv=0x7fffffffdc78) at /export/gnu/import/git/gcc/gcc/main.c:36 (gdb) p id->block $90 = (tree) 0x0