public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/15100] New: cc1plus got hang-up on libstdc++-v3/testsuite/abi_check.cc
@ 2004-04-23 14:44 kkojima at gcc dot gnu dot org
  2004-04-23 15:54 ` [Bug optimization/15100] " pinskia at gcc dot gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: kkojima at gcc dot gnu dot org @ 2004-04-23 14:44 UTC (permalink / raw)
  To: gcc-bugs

3.4.0 fails to bootstrap on sh4-unknown-linux-gnu because of
the hang-up when compiling libstdc++-v3/testsuite/abi_check.cc.
It seems that the i686-linux x sh4-unknown-linux-gnu behaves
same as the native compiler and with -fno-unit-at-a-time both
native and cross cc1plus compiles abi_check.cc normally.

FYI, when it looks halting, cross cc1plus takes almost cpu time:

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
 5565 kkojima   17   0 54656  53M  3376 R    99.5 21.3  45:02 cc1plus

and gdb attatched to it says

#0  0x080e1b18 in bitmap_set_bit (head=0x86acfa0, bit=394)
    at ../../LOCAL/gcc-3.4/gcc/bitmap.c:310
#1  0x0815f13e in mark_set_1 (pbi=0x848e8d8, code=SET, reg=0x417e9ff0, 
    cond=0x0, insn=0x411caf78, flags=16) at ../../LOCAL/gcc-3.4/gcc/flow.c:2673
#2  0x0815eaae in mark_set_regs (pbi=0x848e8d8, x=0x42245024, insn=0x411caf78)
    at ../../LOCAL/gcc-3.4/gcc/flow.c:2468
#3  0x0815db01 in propagate_one_insn (pbi=0x848e8d8, insn=0x411caf78)
    at ../../LOCAL/gcc-3.4/gcc/flow.c:1667
#4  0x0815e21b in propagate_block (bb=0x851fec8, live=0xbfffef9c, 
    local_set=0x84f54f8, cond_local_set=0x84f5508, flags=16)
    at ../../LOCAL/gcc-3.4/gcc/flow.c:2036
#5  0x0815d146 in calculate_global_regs_live (blocks_in=0x86acf20, 
    blocks_out=0x86acf20, flags=16) at ../../LOCAL/gcc-3.4/gcc/flow.c:1275
#6  0x0815c1d7 in update_life_info (blocks=0x86acf20, 
    extent=UPDATE_LIFE_GLOBAL_RM_NOTES, prop_flags=25)
    at ../../LOCAL/gcc-3.4/gcc/flow.c:624
#7  0x0815c690 in update_life_info_in_dirty_blocks (
    extent=UPDATE_LIFE_GLOBAL_RM_NOTES, prop_flags=25)
    at ../../LOCAL/gcc-3.4/gcc/flow.c:776
#8  0x0829ffaf in combine_instructions (f=0x40bd00a0, nregs=397)
    at ../../LOCAL/gcc-3.4/gcc/combine.c:742
#9  0x0825dd2d in rest_of_handle_combine (decl=0x41747244, insns=0x40bd00a0)

-- 
           Summary: cc1plus got hang-up on libstdc++-
                    v3/testsuite/abi_check.cc
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kkojima at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: sh4-unknown-linux-gnu
  GCC host triplet: sh4-unknown-linux-gnu
GCC target triplet: sh4-unknown-linux-gnu


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


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

* [Bug optimization/15100] cc1plus got hang-up on libstdc++-v3/testsuite/abi_check.cc
  2004-04-23 14:44 [Bug bootstrap/15100] New: cc1plus got hang-up on libstdc++-v3/testsuite/abi_check.cc kkojima at gcc dot gnu dot org
@ 2004-04-23 15:54 ` pinskia at gcc dot gnu dot org
  2004-04-30  9:17 ` kkojima at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-23 15:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-23 15:14 -------
This looks like an optimization problem.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|bootstrap                   |optimization
           Keywords|                            |build, compile-time-hog,
                   |                            |ice-on-valid-code


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


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

* [Bug optimization/15100] cc1plus got hang-up on libstdc++-v3/testsuite/abi_check.cc
  2004-04-23 14:44 [Bug bootstrap/15100] New: cc1plus got hang-up on libstdc++-v3/testsuite/abi_check.cc kkojima at gcc dot gnu dot org
  2004-04-23 15:54 ` [Bug optimization/15100] " pinskia at gcc dot gnu dot org
@ 2004-04-30  9:17 ` kkojima at gcc dot gnu dot org
  2004-04-30 10:49 ` giovannibajo at libero dot it
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: kkojima at gcc dot gnu dot org @ 2004-04-30  9:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From kkojima at gcc dot gnu dot org  2004-04-30 05:00 -------
There is a patch for comment with some analysis:
  http://gcc.gnu.org/ml/gcc-patches/2004-04/msg01893.html


-- 


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


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

* [Bug optimization/15100] cc1plus got hang-up on libstdc++-v3/testsuite/abi_check.cc
  2004-04-23 14:44 [Bug bootstrap/15100] New: cc1plus got hang-up on libstdc++-v3/testsuite/abi_check.cc kkojima at gcc dot gnu dot org
  2004-04-23 15:54 ` [Bug optimization/15100] " pinskia at gcc dot gnu dot org
  2004-04-30  9:17 ` kkojima at gcc dot gnu dot org
@ 2004-04-30 10:49 ` giovannibajo at libero dot it
  2004-04-30 10:58 ` [Bug optimization/15100] [3.4/3.5? Regression] " giovannibajo at libero dot it
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: giovannibajo at libero dot it @ 2004-04-30 10:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2004-04-30 09:17 -------
Thank you for the patch. Please, in future assign the bug to you when you have 
a patch.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |kkojima at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
           Keywords|                            |patch
      Known to fail|                            |3.4.0
   Last reconfirmed|0000-00-00 00:00:00         |2004-04-30 09:17:03
               date|                            |


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


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

* [Bug optimization/15100] [3.4/3.5? Regression] cc1plus got hang-up on libstdc++-v3/testsuite/abi_check.cc
  2004-04-23 14:44 [Bug bootstrap/15100] New: cc1plus got hang-up on libstdc++-v3/testsuite/abi_check.cc kkojima at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-04-30 10:49 ` giovannibajo at libero dot it
@ 2004-04-30 10:58 ` giovannibajo at libero dot it
  2004-04-30 11:27 ` kkojima at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: giovannibajo at libero dot it @ 2004-04-30 10:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2004-04-30 09:17 -------
Do you know if the bug is present also on the 3.3 branch or on mainline?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|cc1plus got hang-up on      |[3.4/3.5? Regression]
                   |libstdc++-                  |cc1plus got hang-up on
                   |v3/testsuite/abi_check.cc   |libstdc++-
                   |                            |v3/testsuite/abi_check.cc


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


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

* [Bug optimization/15100] [3.4/3.5? Regression] cc1plus got hang-up on libstdc++-v3/testsuite/abi_check.cc
  2004-04-23 14:44 [Bug bootstrap/15100] New: cc1plus got hang-up on libstdc++-v3/testsuite/abi_check.cc kkojima at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2004-04-30 10:58 ` [Bug optimization/15100] [3.4/3.5? Regression] " giovannibajo at libero dot it
@ 2004-04-30 11:27 ` kkojima at gcc dot gnu dot org
  2004-04-30 13:30 ` giovannibajo at libero dot it
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: kkojima at gcc dot gnu dot org @ 2004-04-30 11:27 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From kkojima at gcc dot gnu dot org  2004-04-30 10:58 -------
The mainline (20040425 x86-linux cross to sh4-linux) also hangs on .i file
got from 3.4.0 abi_check.cc.  Unfortunately, same .i file can't be compiled
on 3.3-branch for another reasons like new __attribute__ expression and I
don't have any appropriate testcase for this PR against 3.3-branch ATM.


-- 


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


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

* [Bug optimization/15100] [3.4/3.5? Regression] cc1plus got hang-up on libstdc++-v3/testsuite/abi_check.cc
  2004-04-23 14:44 [Bug bootstrap/15100] New: cc1plus got hang-up on libstdc++-v3/testsuite/abi_check.cc kkojima at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2004-04-30 11:27 ` kkojima at gcc dot gnu dot org
@ 2004-04-30 13:30 ` giovannibajo at libero dot it
  2004-04-30 14:06 ` kkojima at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: giovannibajo at libero dot it @ 2004-04-30 13:30 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2004-04-30 12:41 -------
Can you attacch the precompiled file to this report for completeness? Maybe 
someone will have time to reduce this, making it possible to test it on 3.3.

-- 


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


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

* [Bug optimization/15100] [3.4/3.5? Regression] cc1plus got hang-up on libstdc++-v3/testsuite/abi_check.cc
  2004-04-23 14:44 [Bug bootstrap/15100] New: cc1plus got hang-up on libstdc++-v3/testsuite/abi_check.cc kkojima at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2004-04-30 13:30 ` giovannibajo at libero dot it
@ 2004-04-30 14:06 ` kkojima at gcc dot gnu dot org
  2004-05-12 19:31 ` cvs-commit at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: kkojima at gcc dot gnu dot org @ 2004-04-30 14:06 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From kkojima at gcc dot gnu dot org  2004-04-30 13:42 -------
I've attached a problematic .i file.


-- 


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


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

* [Bug optimization/15100] [3.4/3.5? Regression] cc1plus got hang-up on libstdc++-v3/testsuite/abi_check.cc
  2004-04-23 14:44 [Bug bootstrap/15100] New: cc1plus got hang-up on libstdc++-v3/testsuite/abi_check.cc kkojima at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2004-04-30 14:06 ` kkojima at gcc dot gnu dot org
@ 2004-05-12 19:31 ` cvs-commit at gcc dot gnu dot org
  2004-05-13  0:09 ` [Bug optimization/15100] [3.4 " pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-05-12 19:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-05-12 04:32 -------
Subject: Bug 15100

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	kkojima@gcc.gnu.org	2004-05-12 04:32:02

Modified files:
	gcc            : ChangeLog combine.c 

Log message:
	PR optimization/15100
	* combine.c (distribute_notes): Don't create a dangling
	REG_LIBCALL/REG_RETVAL note.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.3628&r2=2.3629
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/combine.c.diff?cvsroot=gcc&r1=1.424&r2=1.425



-- 


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


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

* [Bug optimization/15100] [3.4 Regression] cc1plus got hang-up on libstdc++-v3/testsuite/abi_check.cc
  2004-04-23 14:44 [Bug bootstrap/15100] New: cc1plus got hang-up on libstdc++-v3/testsuite/abi_check.cc kkojima at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2004-05-12 19:31 ` cvs-commit at gcc dot gnu dot org
@ 2004-05-13  0:09 ` pinskia at gcc dot gnu dot org
  2004-05-18 21:13 ` [Bug rtl-optimization/15100] " cvs-commit at gcc dot gnu dot org
  2004-05-18 21:20 ` kkojima at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-13  0:09 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |3.5.0
            Summary|[3.4/3.5? Regression]       |[3.4 Regression] cc1plus got
                   |cc1plus got hang-up on      |hang-up on libstdc++-
                   |libstdc++-                  |v3/testsuite/abi_check.cc
                   |v3/testsuite/abi_check.cc   |
   Target Milestone|---                         |3.4.1


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


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

* [Bug rtl-optimization/15100] [3.4 Regression] cc1plus got hang-up on libstdc++-v3/testsuite/abi_check.cc
  2004-04-23 14:44 [Bug bootstrap/15100] New: cc1plus got hang-up on libstdc++-v3/testsuite/abi_check.cc kkojima at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2004-05-13  0:09 ` [Bug optimization/15100] [3.4 " pinskia at gcc dot gnu dot org
@ 2004-05-18 21:13 ` cvs-commit at gcc dot gnu dot org
  2004-05-18 21:20 ` kkojima at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-05-18 21:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-05-18 10:51 -------
Subject: Bug 15100

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_4-branch
Changes by:	kkojima@gcc.gnu.org	2004-05-18 10:51:39

Modified files:
	gcc            : ChangeLog combine.c 

Log message:
	PR optimization/15100
	Backport from mainline:
	
	2004-05-11  Kaz Kojima  <kkojima@gcc.gnu.org>
	* combine.c (distribute_notes): Don't create a dangling
	REG_LIBCALL/REG_RETVAL note.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.443&r2=2.2326.2.444
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/combine.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.400.4.7&r2=1.400.4.8



-- 


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


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

* [Bug rtl-optimization/15100] [3.4 Regression] cc1plus got hang-up on libstdc++-v3/testsuite/abi_check.cc
  2004-04-23 14:44 [Bug bootstrap/15100] New: cc1plus got hang-up on libstdc++-v3/testsuite/abi_check.cc kkojima at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2004-05-18 21:13 ` [Bug rtl-optimization/15100] " cvs-commit at gcc dot gnu dot org
@ 2004-05-18 21:20 ` kkojima at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: kkojima at gcc dot gnu dot org @ 2004-05-18 21:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From kkojima at gcc dot gnu dot org  2004-05-18 10:53 -------
Fixed on 3.4/mainline.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2004-05-18 10:53 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-23 14:44 [Bug bootstrap/15100] New: cc1plus got hang-up on libstdc++-v3/testsuite/abi_check.cc kkojima at gcc dot gnu dot org
2004-04-23 15:54 ` [Bug optimization/15100] " pinskia at gcc dot gnu dot org
2004-04-30  9:17 ` kkojima at gcc dot gnu dot org
2004-04-30 10:49 ` giovannibajo at libero dot it
2004-04-30 10:58 ` [Bug optimization/15100] [3.4/3.5? Regression] " giovannibajo at libero dot it
2004-04-30 11:27 ` kkojima at gcc dot gnu dot org
2004-04-30 13:30 ` giovannibajo at libero dot it
2004-04-30 14:06 ` kkojima at gcc dot gnu dot org
2004-05-12 19:31 ` cvs-commit at gcc dot gnu dot org
2004-05-13  0:09 ` [Bug optimization/15100] [3.4 " pinskia at gcc dot gnu dot org
2004-05-18 21:13 ` [Bug rtl-optimization/15100] " cvs-commit at gcc dot gnu dot org
2004-05-18 21:20 ` kkojima 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).