public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/15681] New: -Os -frename-registers ICE on ia64
@ 2004-05-27 21:52 jakub at gcc dot gnu dot org
  2004-05-28  0:15 ` [Bug rtl-optimization/15681] " pinskia at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2004-05-27 21:52 UTC (permalink / raw)
  To: gcc-bugs

/* { dg-do compile } */
/* { dg-options "-Os -frename-registers" } */
/* { dg-options "-mconstant-gp -Os -frename-registers" { target ia64-*-* } } */

struct S { struct S *a, *b; };
struct T { struct S e; unsigned long a; int b, c; void *d; } f;

unsigned long f1 (unsigned long);
void f2 (int, struct T *);
void *f3 (void *);
unsigned long volatile g;

static void
f4 (struct T *p)
{
  f1 (f1 (((unsigned long) g - p->a) >> 20));
}

static struct T *
f5 (void)
{
  struct T *g, *p;
  struct T *q = 0;
  for (g = p = &f; (g = p = (struct T *) (g->e.a)) != &f;)
    if (p->b)
      {
        f4 (p);
        if (p->c & 0x80000)
          return p;
      }
  return q;
}

static void
f6 (struct T *p)
{
  f2 (9, p);
}

static inline void *
f7 (struct T *t)
{
  void *d;
  d = t->d;
  if (d)
    d = f3 (d);
  return d;
}

static void *
f8 (struct T *p)
{
  void *d = f7 (p);
  if (!d)
    return 0;
  f6 (p);
  return d;
}

static void
f9 (void)
{
  struct T *p;
  p = f5 ();
  f8 (p);
}

void
test (void)
{
  f9 ();
}

causes ICE:
test.c: In function `test':
test.c:72: internal compiler error: in verify_local_live_at_start, at flow.c:546
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.

-- 
           Summary: -Os -frename-registers ICE on ia64
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jakub at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: ia64-redhat-linux


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


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

* [Bug rtl-optimization/15681] -Os -frename-registers ICE on ia64
  2004-05-27 21:52 [Bug rtl-optimization/15681] New: -Os -frename-registers ICE on ia64 jakub at gcc dot gnu dot org
@ 2004-05-28  0:15 ` pinskia at gcc dot gnu dot org
  2004-06-01  4:24 ` wilson at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-28  0:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-27 14:59 -------
Most likely the same as PR 15569.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |15569


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


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

* [Bug rtl-optimization/15681] -Os -frename-registers ICE on ia64
  2004-05-27 21:52 [Bug rtl-optimization/15681] New: -Os -frename-registers ICE on ia64 jakub at gcc dot gnu dot org
  2004-05-28  0:15 ` [Bug rtl-optimization/15681] " pinskia at gcc dot gnu dot org
@ 2004-06-01  4:24 ` wilson at gcc dot gnu dot org
  2004-06-08  6:59 ` wilson at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: wilson at gcc dot gnu dot org @ 2004-06-01  4:24 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From wilson at gcc dot gnu dot org  2004-06-01 04:24 -------
Fixed by same patch that fixes 15569.

*** This bug has been marked as a duplicate of 15569 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


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

* [Bug rtl-optimization/15681] -Os -frename-registers ICE on ia64
  2004-05-27 21:52 [Bug rtl-optimization/15681] New: -Os -frename-registers ICE on ia64 jakub at gcc dot gnu dot org
  2004-05-28  0:15 ` [Bug rtl-optimization/15681] " pinskia at gcc dot gnu dot org
  2004-06-01  4:24 ` wilson at gcc dot gnu dot org
@ 2004-06-08  6:59 ` wilson at gcc dot gnu dot org
  2004-06-08 12:39 ` jakub at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: wilson at gcc dot gnu dot org @ 2004-06-08  6:59 UTC (permalink / raw)
  To: gcc-bugs



-- 
Bug 15681 depends on bug 15569, which changed state.

Bug 15569 Summary: [3.4 regression] Gcc 3.4.1 failed to build ia64 2.6.6 kernel
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15569

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

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


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

* [Bug rtl-optimization/15681] -Os -frename-registers ICE on ia64
  2004-05-27 21:52 [Bug rtl-optimization/15681] New: -Os -frename-registers ICE on ia64 jakub at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-06-08  6:59 ` wilson at gcc dot gnu dot org
@ 2004-06-08 12:39 ` jakub at gcc dot gnu dot org
  2004-06-08 17:11 ` wilson at specifixinc dot com
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2004-06-08 12:39 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jakub at gcc dot gnu dot org  2004-06-08 12:38 -------
Can I commit the testcase?

-- 


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


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

* [Bug rtl-optimization/15681] -Os -frename-registers ICE on ia64
  2004-05-27 21:52 [Bug rtl-optimization/15681] New: -Os -frename-registers ICE on ia64 jakub at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2004-06-08 12:39 ` jakub at gcc dot gnu dot org
@ 2004-06-08 17:11 ` wilson at specifixinc dot com
  2004-06-10  8:43 ` cvs-commit at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: wilson at specifixinc dot com @ 2004-06-08 17:11 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From wilson at specifixinc dot com  2004-06-08 17:11 -------
Subject: Re:  -Os -frename-registers ICE on ia64

jakub at gcc dot gnu dot org wrote:
> ------- Additional Comments From jakub at gcc dot gnu dot org  2004-06-08 12:38 -------
> Can I commit the testcase?

Yes.  This is OK for mainline and the gcc-3.4.x branch.


-- 


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


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

* [Bug rtl-optimization/15681] -Os -frename-registers ICE on ia64
  2004-05-27 21:52 [Bug rtl-optimization/15681] New: -Os -frename-registers ICE on ia64 jakub at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2004-06-08 17:11 ` wilson at specifixinc dot com
@ 2004-06-10  8:43 ` cvs-commit at gcc dot gnu dot org
  2004-06-10  8:46 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-06-10  8:43 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-06-10 08:43 -------
Subject: Bug 15681

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	jakub@gcc.gnu.org	2004-06-10 08:43:16

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

Log message:
	PR target/15569
	PR rtl-optimization/15681
	* gcc.dg/20040609-1.c: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3836&r2=1.3837
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/20040609-1.c.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


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

* [Bug rtl-optimization/15681] -Os -frename-registers ICE on ia64
  2004-05-27 21:52 [Bug rtl-optimization/15681] New: -Os -frename-registers ICE on ia64 jakub at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2004-06-10  8:43 ` cvs-commit at gcc dot gnu dot org
@ 2004-06-10  8:46 ` cvs-commit at gcc dot gnu dot org
  2004-06-28 22:28 ` cvs-commit at gcc dot gnu dot org
  2004-07-01 10:52 ` cvs-commit at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-06-10  8:46 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-06-10 08:46 -------
Subject: Bug 15681

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_4-branch
Changes by:	jakub@gcc.gnu.org	2004-06-10 08:46:10

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

Log message:
	PR target/15569
	PR rtl-optimization/15681
	* gcc.dg/20040609-1.c: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3389.2.201&r2=1.3389.2.202
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/20040609-1.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.2.1



-- 


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


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

* [Bug rtl-optimization/15681] -Os -frename-registers ICE on ia64
  2004-05-27 21:52 [Bug rtl-optimization/15681] New: -Os -frename-registers ICE on ia64 jakub at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2004-06-10  8:46 ` cvs-commit at gcc dot gnu dot org
@ 2004-06-28 22:28 ` cvs-commit at gcc dot gnu dot org
  2004-07-01 10:52 ` cvs-commit at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-06-28 22:28 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-06-28 22:28 -------
Subject: Bug 15681

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_3-rhl-branch
Changes by:	jakub@gcc.gnu.org	2004-06-28 22:28:32

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

Log message:
	PR target/15569
	PR rtl-optimization/15681
	* gcc.dg/20040609-1.c: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-rhl-branch&r1=1.2261.2.170.2.59&r2=1.2261.2.170.2.60
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/20040609-1.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-rhl-branch&r1=NONE&r2=1.1.10.1



-- 


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


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

* [Bug rtl-optimization/15681] -Os -frename-registers ICE on ia64
  2004-05-27 21:52 [Bug rtl-optimization/15681] New: -Os -frename-registers ICE on ia64 jakub at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2004-06-28 22:28 ` cvs-commit at gcc dot gnu dot org
@ 2004-07-01 10:52 ` cvs-commit at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-07-01 10:52 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-07-01 10:52 -------
Subject: Bug 15681

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_2-rhl8-branch
Changes by:	jakub@gcc.gnu.org	2004-07-01 10:52:31

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

Log message:
	PR target/15569
	PR rtl-optimization/15681
	* gcc.dg/20040609-1.c: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_2-rhl8-branch&r1=1.1672.2.166.2.8.2.82&r2=1.1672.2.166.2.8.2.83
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/20040609-1.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-rhl8-branch&r1=NONE&r2=1.1.12.1



-- 


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


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

end of thread, other threads:[~2004-07-01 10:52 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-27 21:52 [Bug rtl-optimization/15681] New: -Os -frename-registers ICE on ia64 jakub at gcc dot gnu dot org
2004-05-28  0:15 ` [Bug rtl-optimization/15681] " pinskia at gcc dot gnu dot org
2004-06-01  4:24 ` wilson at gcc dot gnu dot org
2004-06-08  6:59 ` wilson at gcc dot gnu dot org
2004-06-08 12:39 ` jakub at gcc dot gnu dot org
2004-06-08 17:11 ` wilson at specifixinc dot com
2004-06-10  8:43 ` cvs-commit at gcc dot gnu dot org
2004-06-10  8:46 ` cvs-commit at gcc dot gnu dot org
2004-06-28 22:28 ` cvs-commit at gcc dot gnu dot org
2004-07-01 10:52 ` cvs-commit 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).