This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/55792] Bad memory access with profiledbootstrap and LTO


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

--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> 2013-01-05 16:47:08 UTC ---
The page is freed since there is nothing in it:

#0  set_page_table_entry (p=0x7ffff1ab8000, entry=0x0)
    at /export/gnu/import/git/gcc/gcc/ggc-page.c:640
#1  0x0000000000544514 in free_page (entry=0x17a1d70)
    at /export/gnu/import/git/gcc/gcc/ggc-page.c:948
#2  0x0000000000545a41 in sweep_pages ()
    at /export/gnu/import/git/gcc/gcc/ggc-page.c:1886
#3  0x0000000000545ed0 in ggc_collect ()
    at /export/gnu/import/git/gcc/gcc/ggc-page.c:2094
#4  0x00000000008acc6e in execute_todo (flags=2)
    at /export/gnu/import/git/gcc/gcc/passes.c:2023
#5  0x00000000008ad5cd in execute_one_pass (pass=0x16bd620 <pass_final>)
    at /export/gnu/import/git/gcc/gcc/passes.c:2349
#6  0x00000000008ad732 in execute_pass_list (pass=0x16bd620 <pass_final>)
    at /export/gnu/import/git/gcc/gcc/passes.c:2383
#7  0x00000000008ad763 in execute_pass_list (pass=0x16be6c0 <pass_postreload>)
    at /export/gnu/import/git/gcc/gcc/passes.c:2384
#8  0x00000000008ad763 in execute_pass_list (
    pass=0x16be660 <pass_rest_of_compilation>)
    at /export/gnu/import/git/gcc/gcc/passes.c:2384
#9  0x00000000005d9c06 in expand_function (node=0x7ffff1b55250)
    at /export/gnu/import/git/gcc/gcc/cgraphunit.c:1641
#10 0x00000000005da0c1 in expand_all_functions ()
    at /export/gnu/import/git/gcc/gcc/cgraphunit.c:1745
---Type <return> to continue, or q <return> to quit---
#11 0x00000000005dab4b in compile ()
    at /export/gnu/import/git/gcc/gcc/cgraphunit.c:2043
#12 0x000000000053beaa in lto_main ()
    at /export/gnu/import/git/gcc/gcc/lto/lto.c:3393
#13 0x0000000000998859 in compile_file ()
    at /export/gnu/import/git/gcc/gcc/toplev.c:545
#14 0x000000000099a83c in do_compile ()
    at /export/gnu/import/git/gcc/gcc/toplev.c:1878
#15 0x000000000099a9a7 in toplev_main (argc=26, argv=0x7fffffffdff8)
    at /export/gnu/import/git/gcc/gcc/toplev.c:1954
#16 0x0000000000ffeee0 in main (argc=26, argv=0x7fffffffdff8)
    at /export/gnu/import/git/gcc/gcc/main.c:36
(gdb)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]