public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/17933] New: [4.0 Regression] ICE: in schedule_insns, at /sched-rgn.c:2555
@ 2004-10-11 15:19 danglin at gcc dot gnu dot org
  2004-10-11 15:55 ` [Bug rtl-optimization/17933] " pinskia at gcc dot gnu dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: danglin at gcc dot gnu dot org @ 2004-10-11 15:19 UTC (permalink / raw)
  To: gcc-bugs

The following regression occurs in the objc testsuite:

Executing on host: /test/gnu/gcc-3.3/objdir/gcc/xgcc -B/test/gnu/gcc-3.3/objdir/
gcc/ /test/gnu/gcc-3.3/gcc/gcc/testsuite/objc/execute/class_self-2.m  -w  -O2  -
I/test/gnu/gcc-3.3/gcc/gcc/testsuite/../../libobjc -L/test/gnu/gcc-3.3/objdir/hp
pa64-hp-hpux11.11/./libobjc/.libs  -lobjc -lm   -o /test/gnu/gcc-3.3/objdir/gcc/
testsuite/class_self-2.x2    (timeout = 300)
/test/gnu/gcc-3.3/gcc/gcc/testsuite/objc/execute/class_self-2.m: In function '+[
TestClass test]':
/test/gnu/gcc-3.3/gcc/gcc/testsuite/objc/execute/class_self-2.m:58: internal com
piler error: in schedule_insns, at /sched-rgn.c:2555

-- 
           Summary: [4.0 Regression] ICE: in schedule_insns, at /sched-
                    rgn.c:2555
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: hppa64-hp-hpux11.11
  GCC host triplet: hppa64-hp-hpux11.11
GCC target triplet: hppa64-hp-hpux11.11


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


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

* [Bug rtl-optimization/17933] [4.0 Regression] ICE: in schedule_insns, at /sched-rgn.c:2555
  2004-10-11 15:19 [Bug middle-end/17933] New: [4.0 Regression] ICE: in schedule_insns, at /sched-rgn.c:2555 danglin at gcc dot gnu dot org
@ 2004-10-11 15:55 ` pinskia at gcc dot gnu dot org
  2004-10-11 16:06 ` dave at hiauly1 dot hia dot nrc dot ca
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-11 15:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-11 15:55 -------
      /* Verify the counts of basic block notes in single the basic block
         regions.  */

Hmm.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|middle-end                  |rtl-optimization
           Keywords|                            |ice-on-valid-code
   Target Milestone|---                         |4.0.0


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


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

* [Bug rtl-optimization/17933] [4.0 Regression] ICE: in schedule_insns, at /sched-rgn.c:2555
  2004-10-11 15:19 [Bug middle-end/17933] New: [4.0 Regression] ICE: in schedule_insns, at /sched-rgn.c:2555 danglin at gcc dot gnu dot org
  2004-10-11 15:55 ` [Bug rtl-optimization/17933] " pinskia at gcc dot gnu dot org
@ 2004-10-11 16:06 ` dave at hiauly1 dot hia dot nrc dot ca
  2004-10-11 17:53 ` pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2004-10-11 16:06 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  2004-10-11 16:06 -------
Subject: Re:  [4.0 Regression] ICE: in schedule_in

> ------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-11
> 15:55 -------
>       /* Verify the counts of basic block notes in single the basic block
>          regions.  */
> 
> Hmm.

I couldn't understand it either.

deaths_in_region[rgn] = 30
count_or_remove_death_notes (blocks, 0) = 29

Dave


-- 


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


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

* [Bug rtl-optimization/17933] [4.0 Regression] ICE: in schedule_insns, at /sched-rgn.c:2555
  2004-10-11 15:19 [Bug middle-end/17933] New: [4.0 Regression] ICE: in schedule_insns, at /sched-rgn.c:2555 danglin at gcc dot gnu dot org
  2004-10-11 15:55 ` [Bug rtl-optimization/17933] " pinskia at gcc dot gnu dot org
  2004-10-11 16:06 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2004-10-11 17:53 ` pinskia at gcc dot gnu dot org
  2004-10-11 18:02 ` dave at hiauly1 dot hia dot nrc dot ca
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-11 17:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-11 17:53 -------
Here is a C example which is almost equivalent to the objective-C example:
struct d
{
  int a;
};
void abort(void);
typedef struct d (*f) (int i);
f ff(void);
void test1(void)
{
  if ((ff())(0).a != 0)
   abort();
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-10-11 17:53:41
               date|                            |


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


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

* [Bug rtl-optimization/17933] [4.0 Regression] ICE: in schedule_insns, at /sched-rgn.c:2555
  2004-10-11 15:19 [Bug middle-end/17933] New: [4.0 Regression] ICE: in schedule_insns, at /sched-rgn.c:2555 danglin at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-10-11 17:53 ` pinskia at gcc dot gnu dot org
@ 2004-10-11 18:02 ` dave at hiauly1 dot hia dot nrc dot ca
  2004-10-11 18:07 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2004-10-11 18:02 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  2004-10-11 18:02 -------
Subject: Re:  [4.0 Regression] ICE: in schedule_in

> Here is a C example which is almost equivalent to the objective-C example:
> struct d
> {
>   int a;
> };
> void abort(void);
> typedef struct d (*f) (int i);
> f ff(void);
> void test1(void)
> {
>   if ((ff())(0).a != 0)
>    abort();
> }

It generates the same error.

It seems like the problem is in count_or_remove_death_notes.  There
are 30 REG_DEAD notes in the objective-C example.

Dave


-- 


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


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

* [Bug rtl-optimization/17933] [4.0 Regression] ICE: in schedule_insns, at /sched-rgn.c:2555
  2004-10-11 15:19 [Bug middle-end/17933] New: [4.0 Regression] ICE: in schedule_insns, at /sched-rgn.c:2555 danglin at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2004-10-11 18:02 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2004-10-11 18:07 ` pinskia at gcc dot gnu dot org
  2004-10-30 18:23 ` hp at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-11 18:07 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-11 18:07 -------
And here is a test which is little smaller (which generates the same problem/error):
struct d
{ int a; };
void abort(void);
typedef struct d (*f) (int i);
f ff(void);
void test1()
{
  f t = ff();
  t(0);
}

The reason why I knew I could changed it from a objective-C to a C testcase is because I know how 
Objective-C runtime works and how the GNU runtime uses a function call to get the function and then 
indirectly call the function.

-- 


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


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

* [Bug rtl-optimization/17933] [4.0 Regression] ICE: in schedule_insns, at /sched-rgn.c:2555
  2004-10-11 15:19 [Bug middle-end/17933] New: [4.0 Regression] ICE: in schedule_insns, at /sched-rgn.c:2555 danglin at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2004-10-11 18:07 ` pinskia at gcc dot gnu dot org
@ 2004-10-30 18:23 ` hp at gcc dot gnu dot org
  2004-11-01  0:57 ` hp at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: hp at gcc dot gnu dot org @ 2004-10-30 18:23 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From hp at gcc dot gnu dot org  2004-10-30 18:23 -------
I'm just going to look at it briefly...

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |hp at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED


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


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

* [Bug rtl-optimization/17933] [4.0 Regression] ICE: in schedule_insns, at /sched-rgn.c:2555
  2004-10-11 15:19 [Bug middle-end/17933] New: [4.0 Regression] ICE: in schedule_insns, at /sched-rgn.c:2555 danglin at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2004-10-30 18:23 ` hp at gcc dot gnu dot org
@ 2004-11-01  0:57 ` hp at gcc dot gnu dot org
  2004-11-01  1:29 ` dave at hiauly1 dot hia dot nrc dot ca
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: hp at gcc dot gnu dot org @ 2004-11-01  0:57 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From hp at gcc dot gnu dot org  2004-11-01 00:57 -------
Call for testing, <URL:http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00002.html>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


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


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

* [Bug rtl-optimization/17933] [4.0 Regression] ICE: in schedule_insns, at /sched-rgn.c:2555
  2004-10-11 15:19 [Bug middle-end/17933] New: [4.0 Regression] ICE: in schedule_insns, at /sched-rgn.c:2555 danglin at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2004-11-01  0:57 ` hp at gcc dot gnu dot org
@ 2004-11-01  1:29 ` dave at hiauly1 dot hia dot nrc dot ca
  2004-11-06 18:31 ` cvs-commit at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2004-11-01  1:29 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  2004-11-01 01:29 -------
Subject: Re:  [4.0 Regression] ICE: in schedule_in

> Call for testing,
> <URL:http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00002.html>.

I have a test going now on hppa-unknown-linux-gnu.  I will start a
test on hppa64-hp-hpux11.11 when the test that I have running now
completes.

Any PA 2.0 machine running HP-UX 11.11 supports the 64-bit compiler
but it is something of a trick to do the initial bootstrap, particularly
if the machine only has the bundled HP compiler.  If the machine has
HP's ANSI compiler, it can be used for the initial bootstrap.

Dave


-- 


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


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

* [Bug rtl-optimization/17933] [4.0 Regression] ICE: in schedule_insns, at /sched-rgn.c:2555
  2004-10-11 15:19 [Bug middle-end/17933] New: [4.0 Regression] ICE: in schedule_insns, at /sched-rgn.c:2555 danglin at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2004-11-01  1:29 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2004-11-06 18:31 ` cvs-commit at gcc dot gnu dot org
  2004-11-06 18:33 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-11-06 18:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-11-06 18:31 -------
Subject: Bug 17933

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	hp@gcc.gnu.org	2004-11-06 18:30:57

Modified files:
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gcc.dg/torture: pr17933-1.c 

Log message:
	PR rtl-optimization/17933
	* gcc.dg/torture/pr17933-1.c: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4551&r2=1.4552
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/torture/pr17933-1.c.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


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

* [Bug rtl-optimization/17933] [4.0 Regression] ICE: in schedule_insns, at /sched-rgn.c:2555
  2004-10-11 15:19 [Bug middle-end/17933] New: [4.0 Regression] ICE: in schedule_insns, at /sched-rgn.c:2555 danglin at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2004-11-06 18:31 ` cvs-commit at gcc dot gnu dot org
@ 2004-11-06 18:33 ` cvs-commit at gcc dot gnu dot org
  2004-11-06 18:37 ` hp at gcc dot gnu dot org
  2004-11-08  4:04 ` pinskia at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-11-06 18:33 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-11-06 18:33 -------
Subject: Bug 17933

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	hp@gcc.gnu.org	2004-11-06 18:33:04

Modified files:
	gcc            : ChangeLog rtlanal.c 

Log message:
	PR rtl-optimization/17933
	* rtlanal.c (dead_or_set_regno_p): Break out common code to...
	(covers_regno_p): New function.  Handle SETs of PARALLEL,
	and defer the rest to...
	(covers_regno_no_parallel_p): New function.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6205&r2=2.6206
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/rtlanal.c.diff?cvsroot=gcc&r1=1.204&r2=1.205



-- 


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


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

* [Bug rtl-optimization/17933] [4.0 Regression] ICE: in schedule_insns, at /sched-rgn.c:2555
  2004-10-11 15:19 [Bug middle-end/17933] New: [4.0 Regression] ICE: in schedule_insns, at /sched-rgn.c:2555 danglin at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2004-11-06 18:33 ` cvs-commit at gcc dot gnu dot org
@ 2004-11-06 18:37 ` hp at gcc dot gnu dot org
  2004-11-08  4:04 ` pinskia at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: hp at gcc dot gnu dot org @ 2004-11-06 18:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From hp at gcc dot gnu dot org  2004-11-06 18:37 -------
Please check the updated patch on hppa64.  After that, we can close this.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |WAITING


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


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

* [Bug rtl-optimization/17933] [4.0 Regression] ICE: in schedule_insns, at /sched-rgn.c:2555
  2004-10-11 15:19 [Bug middle-end/17933] New: [4.0 Regression] ICE: in schedule_insns, at /sched-rgn.c:2555 danglin at gcc dot gnu dot org
                   ` (10 preceding siblings ...)
  2004-11-06 18:37 ` hp at gcc dot gnu dot org
@ 2004-11-08  4:04 ` pinskia at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-08  4:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-08 04:04 -------
Fixed.

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


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


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

end of thread, other threads:[~2004-11-08  4:04 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-11 15:19 [Bug middle-end/17933] New: [4.0 Regression] ICE: in schedule_insns, at /sched-rgn.c:2555 danglin at gcc dot gnu dot org
2004-10-11 15:55 ` [Bug rtl-optimization/17933] " pinskia at gcc dot gnu dot org
2004-10-11 16:06 ` dave at hiauly1 dot hia dot nrc dot ca
2004-10-11 17:53 ` pinskia at gcc dot gnu dot org
2004-10-11 18:02 ` dave at hiauly1 dot hia dot nrc dot ca
2004-10-11 18:07 ` pinskia at gcc dot gnu dot org
2004-10-30 18:23 ` hp at gcc dot gnu dot org
2004-11-01  0:57 ` hp at gcc dot gnu dot org
2004-11-01  1:29 ` dave at hiauly1 dot hia dot nrc dot ca
2004-11-06 18:31 ` cvs-commit at gcc dot gnu dot org
2004-11-06 18:33 ` cvs-commit at gcc dot gnu dot org
2004-11-06 18:37 ` hp at gcc dot gnu dot org
2004-11-08  4:04 ` 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).