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 target/28672] [4.2 Regression]: Gcc went into infinite loop when building libstdc++



------- Comment #3 from hjl at lucon dot org  2006-08-10 06:22 -------
This patch

http://gcc.gnu.org/ml/gcc-patches/2006-08/msg00238.html

causes the gcc to hang. Gdb backtrace looks like

(gdb) bt
#0  htab_find_slot_with_hash (htab=0x60000000002cce30,
    element=0x2000000005417b20, hash=30308, insert=NO_INSERT)
    at /net/gnu-13/export/gnu/src/gcc-next/gcc/libiberty/hashtab.c:635
#1  0x40000000008f8310 in delete_variable_part (set=0x600000000053c630,
    loc=0x2000000005779b80, decl=0x2000000005417b20, offset=0)
    at /net/gnu-13/export/gnu/src/gcc-next/gcc/gcc/var-tracking.c:2232
#2  0x40000000008f8b80 in var_regno_delete (set=0x600000000053c630,
    regno=<value optimized out>)
    at /net/gnu-13/export/gnu/src/gcc-next/gcc/gcc/var-tracking.c:916
#3  0x40000000008fb1c0 in vt_find_locations ()
    at /net/gnu-13/export/gnu/src/gcc-next/gcc/gcc/var-tracking.c:1729
#4  0x40000000008fc210 in variable_tracking_main ()
    at /net/gnu-13/export/gnu/src/gcc-next/gcc/gcc/var-tracking.c:2951
#5  0x4000000000788b80 in ia64_reorg ()
    at /net/gnu-13/export/gnu/src/gcc-next/gcc/gcc/config/ia64/ia64.c:8549
#6  0x400000000090e330 in rest_of_handle_machine_reorg ()
    at /net/gnu-13/export/gnu/src/gcc-next/gcc/gcc/reorg.c:3816
#7  0x400000000071b830 in execute_one_pass (pass=0x6000000000008d88)
    at /net/gnu-13/export/gnu/src/gcc-next/gcc/gcc/passes.c:864
#8  0x400000000071bbb0 in execute_pass_list (pass=0x6000000000008d88)
    at /net/gnu-13/export/gnu/src/gcc-next/gcc/gcc/passes.c:911
#9  0x400000000071bc00 in execute_pass_list (pass=0x60000000000076c0)
    at /net/gnu-13/export/gnu/src/gcc-next/gcc/gcc/passes.c:912
---Type <return> to continue, or q <return> to quit---
#10 0x400000000071bc00 in execute_pass_list (pass=0x6000000000007678)
    at /net/gnu-13/export/gnu/src/gcc-next/gcc/gcc/passes.c:912
#11 0x400000000022e960 in tree_rest_of_compilation (fndecl=0x2000000004e7ddc0)
    at /net/gnu-13/export/gnu/src/gcc-next/gcc/gcc/tree-optimize.c:418
#12 0x40000000001342a0 in expand_body (fn=0x2000000004e7ddc0)
    at /net/gnu-13/export/gnu/src/gcc-next/gcc/gcc/cp/semantics.c:3072
#13 0x4000000000794a30 in cgraph_expand_function (node=0x2000000004f23e90)
    at /net/gnu-13/export/gnu/src/gcc-next/gcc/gcc/cgraphunit.c:1194
#14 0x40000000007967f0 in cgraph_optimize ()
    at /net/gnu-13/export/gnu/src/gcc-next/gcc/gcc/cgraphunit.c:1259
#15 0x40000000000ac070 in cp_finish_file ()
    at /net/gnu-13/export/gnu/src/gcc-next/gcc/gcc/cp/decl2.c:3341
#16 0x40000000000038a0 in finish_file ()
    at /net/gnu-13/export/gnu/src/gcc-next/gcc/gcc/cp/cp-lang.c:144
#17 0x40000000001e8e00 in c_common_parse_file (
    set_yydebug=<value optimized out>)
    at /net/gnu-13/export/gnu/src/gcc-next/gcc/gcc/c-opts.c:1165
#18 0x40000000006c6240 in toplev_main (argc=<value optimized out>,
    argv=<value optimized out>)
    at /net/gnu-13/export/gnu/src/gcc-next/gcc/gcc/toplev.c:999
#19 0x4000000000202c40 in main (argc=17, argv=0x60000fffffffb5a8)
    at /net/gnu-13/export/gnu/src/gcc-next/gcc/gcc/main.c:35
(gdb)


-- 

hjl at lucon dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aoliva at gcc dot gnu dot
                   |                            |org
             Status|WAITING                     |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-08-10 06:22:20
               date|                            |


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


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