public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/45119]  New: [4.6 Regression] Bootstrap went to infinite loop
@ 2010-07-29  0:54 hjl dot tools at gmail dot com
  2010-07-29  0:55 ` [Bug bootstrap/45119] " hjl dot tools at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-07-29  0:54 UTC (permalink / raw)
  To: gcc-bugs

On Linux/ia32, revision 162656 went into infinite loop during
bootstrap:

11445 hjl       20   0 57792  13m 9724 R 100.1  0.2 278:42.87 cc1               
11509 hjl       20   0 60884  21m  13m R 100.1  0.3 278:40.99 cc1               
11527 hjl       20   0 63292  23m  13m R 100.1  0.3 278:32.08 cc1               
11939 hjl       20   0 59564  15m  10m R 99.7  0.2 277:24.65 cc1

when building libgcc:

   (gdb) bt
#0  0x08d517b5 in memory_address_addr_space_p (mode=QImode, addr=0xf755ba50, 
    as=0 '\000') at ../../src-trunk/gcc/recog.c:1287
#1  0x096ba93a in get_address_cost (symbol_present=0 '\000', 
    var_present=1 '\001', offset=1, ratio=1, cstep=1, mem_mode=QImode, 
    as=0 '\000', speed=1 '\001', stmt_after_inc=0 '\000', 
    may_autoinc=0xffdcd25b "\377")
    at ../../src-trunk/gcc/tree-ssa-loop-ivopts.c:3261
#2  0x096be013 in get_computation_cost_at (data=0xffdcd338, use=0xb2eac30, 
    cand=0xb2c0ca0, address_p=1 '\001', depends_on=0xffdcd25c, at=0xf755ca20, 
    can_autoinc=0xffdcd25b "\377", inv_expr_id=0xffdcd254)
    at ../../src-trunk/gcc/tree-ssa-loop-ivopts.c:4083
#3  0x096be480 in get_computation_cost (data=0xffdcd338, use=0xb2eac30, 
    cand=0xb2c0ca0, address_p=1 '\001', depends_on=0xffdcd25c, 
    can_autoinc=0xffdcd25b "\377", inv_expr_id=0xffdcd254)
    at ../../src-trunk/gcc/tree-ssa-loop-ivopts.c:4148
#4  0x096be5e3 in determine_use_iv_cost_address (data=0xffdcd338, 
    use=0xb2eac30, cand=0xb2c0ca0)
    at ../../src-trunk/gcc/tree-ssa-loop-ivopts.c:4194
#5  0x096bf0ad in determine_use_iv_cost (data=0xffdcd338, use=0xb2eac30, 
    cand=0xb2c0ca0) at ../../src-trunk/gcc/tree-ssa-loop-ivopts.c:4470
#6  0x096bf378 in determine_use_iv_costs (data=0xffdcd338)
    at ../../src-trunk/gcc/tree-ssa-loop-ivopts.c:4573
#7  0x096c4160 in tree_ssa_iv_optimize_loop (data=0xffdcd338, loop=0xf7544ec8)
---Type <return> to continue, or q <return> to quit---
    at ../../src-trunk/gcc/tree-ssa-loop-ivopts.c:6385
#8  0x096c424f in tree_ssa_iv_optimize ()
    at ../../src-trunk/gcc/tree-ssa-loop-ivopts.c:6432
#9  0x0974c79d in tree_ssa_loop_ivopts ()
    at ../../src-trunk/gcc/tree-ssa-loop.c:634
#10 0x08c6b1d8 in execute_one_pass (pass=0xabd9820)
    at ../../src-trunk/gcc/passes.c:1564
#11 0x08c6b3ac in execute_pass_list (pass=0xabd9820)
    at ../../src-trunk/gcc/passes.c:1619
#12 0x08c6b3c8 in execute_pass_list (pass=0xabd9420)
    at ../../src-trunk/gcc/passes.c:1620
#13 0x08c6b3c8 in execute_pass_list (pass=0xabd8da0)
    at ../../src-trunk/gcc/passes.c:1620
#14 0x092e475b in tree_rest_of_compilation (fndecl=0xf752a800)
    at ../../src-trunk/gcc/tree-optimize.c:452
#15 0x09d7985b in cgraph_expand_function (node=0xf7537e8c)
    at ../../src-trunk/gcc/cgraphunit.c:1643
#16 0x09d79ac6 in cgraph_expand_all_functions ()
    at ../../src-trunk/gcc/cgraphunit.c:1722
#17 0x09d7a0b8 in cgraph_optimize () at ../../src-trunk/gcc/cgraphunit.c:1978
#18 0x09d77e02 in cgraph_finalize_compilation_unit ()
    at ../../src-trunk/gcc/cgraphunit.c:1185
#19 0x081116af in c_write_global_declarations ()
---Type <return> to continue, or q <return> to quit---
    at ../../src-trunk/gcc/c-decl.c:9698
#20 0x08fe14db in compile_file () at ../../src-trunk/gcc/toplev.c:957
#21 0x08fe3483 in do_compile () at ../../src-trunk/gcc/toplev.c:2295
#22 0x08fe3549 in toplev_main (argc=63, argv=0xffdcd724)
    at ../../src-trunk/gcc/toplev.c:2336
#23 0x082e040e in main (argc=63, argv=0xffdcd724)
    at ../../src-trunk/gcc/main.c:36
(gdb) 

Revision 162645 is OK.


-- 
           Summary: [4.6 Regression] Bootstrap went to infinite loop
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl dot tools at gmail dot com


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/45119] [4.6 Regression] Bootstrap went to infinite loop
  2010-07-29  0:54 [Bug bootstrap/45119] New: [4.6 Regression] Bootstrap went to infinite loop hjl dot tools at gmail dot com
@ 2010-07-29  0:55 ` hjl dot tools at gmail dot com
  2010-07-29  1:06 ` hjl dot tools at gmail dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-07-29  0:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from hjl dot tools at gmail dot com  2010-07-29 00:55 -------
Revision 162649 is OK.


-- 


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/45119] [4.6 Regression] Bootstrap went to infinite loop
  2010-07-29  0:54 [Bug bootstrap/45119] New: [4.6 Regression] Bootstrap went to infinite loop hjl dot tools at gmail dot com
  2010-07-29  0:55 ` [Bug bootstrap/45119] " hjl dot tools at gmail dot com
@ 2010-07-29  1:06 ` hjl dot tools at gmail dot com
  2010-07-29 10:05 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-07-29  1:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from hjl dot tools at gmail dot com  2010-07-29 01:06 -------
It is caused by revision 162653:

http://gcc.gnu.org/ml/gcc-cvs/2010-07/msg01007.html


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |davidxl at gcc dot gnu dot
                   |                            |org


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/45119] [4.6 Regression] Bootstrap went to infinite loop
  2010-07-29  0:54 [Bug bootstrap/45119] New: [4.6 Regression] Bootstrap went to infinite loop hjl dot tools at gmail dot com
  2010-07-29  0:55 ` [Bug bootstrap/45119] " hjl dot tools at gmail dot com
  2010-07-29  1:06 ` hjl dot tools at gmail dot com
@ 2010-07-29 10:05 ` rguenth at gcc dot gnu dot org
  2010-07-29 14:31 ` hjl at gcc dot gnu dot org
  2010-08-11  0:32 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-07-29 10:05 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.6.0


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/45119] [4.6 Regression] Bootstrap went to infinite loop
  2010-07-29  0:54 [Bug bootstrap/45119] New: [4.6 Regression] Bootstrap went to infinite loop hjl dot tools at gmail dot com
                   ` (2 preceding siblings ...)
  2010-07-29 10:05 ` rguenth at gcc dot gnu dot org
@ 2010-07-29 14:31 ` hjl at gcc dot gnu dot org
  2010-08-11  0:32 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: hjl at gcc dot gnu dot org @ 2010-07-29 14:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from hjl at gcc dot gnu dot org  2010-07-29 14:31 -------
Subject: Bug 45119

Author: hjl
Date: Thu Jul 29 14:30:18 2010
New Revision: 162683

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162683
Log:
Revert change in revision 162652.

2010-07-29  Xinliang David Li  <davidxl@google.com>

        PR bootstrap/45119
        * tree-ssa-loop-ivopts.c (get_address_cost): Revert change
        in revision 162652.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-ssa-loop-ivopts.c


-- 


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/45119] [4.6 Regression] Bootstrap went to infinite loop
  2010-07-29  0:54 [Bug bootstrap/45119] New: [4.6 Regression] Bootstrap went to infinite loop hjl dot tools at gmail dot com
                   ` (3 preceding siblings ...)
  2010-07-29 14:31 ` hjl at gcc dot gnu dot org
@ 2010-08-11  0:32 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-08-11  0:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2010-08-11 00:32 -------
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
 GCC target triplet|                            |HWI==32bits
           Keywords|                            |build
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-08-11  0:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-29  0:54 [Bug bootstrap/45119] New: [4.6 Regression] Bootstrap went to infinite loop hjl dot tools at gmail dot com
2010-07-29  0:55 ` [Bug bootstrap/45119] " hjl dot tools at gmail dot com
2010-07-29  1:06 ` hjl dot tools at gmail dot com
2010-07-29 10:05 ` rguenth at gcc dot gnu dot org
2010-07-29 14:31 ` hjl at gcc dot gnu dot org
2010-08-11  0:32 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).