public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/11576] New: internal error at emit-rtl.c:2017
@ 2003-07-18 13:39 ysato at users dot sourceforge dot jp
  2003-07-18 14:08 ` [Bug c/11576] [3.3 only] " pinskia at physics dot uc dot edu
                   ` (20 more replies)
  0 siblings, 21 replies; 23+ messages in thread
From: ysato at users dot sourceforge dot jp @ 2003-07-18 13:39 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: internal error at emit-rtl.c:2017
           Product: gcc
           Version: 3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ysato at users dot sourceforge dot jp
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i386-linux
  GCC host triplet: i386-linux
GCC target triplet: h8300-elf

o Compile command
$ h8300-elf-gcc -O1 -mh -mint32 -Os -S gcc-bug.c

o Result message
gcc-bug.c: In function `add_to_page_cache':
gcc-bug.c:86: internal compiler error: in change_address_1, at emit-rtl.c:2017

o problem source code

struct list_head {
        struct list_head *next, *prev;
};
static inline void __list_add(struct list_head *new,
                              struct list_head *prev,
                              struct list_head *next)
{
        next->prev = new;
        new->next = next;
        new->prev = prev;
        prev->next = new;
}
static inline void list_add(struct list_head *new, struct list_head *head)
{
        __list_add(new, head, head->next);
}
typedef struct { int counter; } atomic_t;
static __inline__ int atomic_inc_return(atomic_t *v)
{
        int ret,flags;
        do { asm volatile ("sub.l er0,er0\n\tstc ccr,r0l\n\tmov.l er0,%0":"=r" (flags) : : "er0"); asm volatile ("orc  #0x80,ccr"); } while(0);
        v->counter++;
        ret = v->counter;
        asm volatile ("mov.l %0,er0\n\tldc r0l,ccr": :"r" (flags) : "er0");
        return ret;
}
struct address_space {
        struct list_head clean_pages;
        unsigned long nrpages;
};

struct inode {
        unsigned long dummy;

};
typedef struct page {
        struct list_head list;
        struct address_space *mapping;
        unsigned long index;
        atomic_t count;
        unsigned long flags;
} mem_map_t;
extern unsigned int page_hash_bits;
static inline unsigned long _page_hashfn(struct address_space * mapping, unsigned long index)
{
        return (((((unsigned long) mapping)/(sizeof(struct inode) & ~ (sizeof(struct inode) - 1)))+index)+(((((unsigned long) mapping) /(sizeof(struct inode) & ~ (sizeof(struct inode) - 1)))+index)>>(page_hash_bits))) & ((1 << (page_hash_bits))-1);
}
atomic_t page_cache_size = { (0) };
unsigned int page_hash_bits;
struct page **page_hash_table;
static void add_page_to_hash_queue(struct page * page, struct page **p)
{
}

static inline void add_page_to_inode_queue(struct address_space *mapping, struct page * page)
{
        struct list_head *head = &mapping->clean_pages;

        mapping->nrpages++;
        list_add(&page->list, head);
        page->mapping = mapping;
}

static inline void __add_to_page_cache(struct page * page,
        struct address_space *mapping, unsigned long offset,
        struct page **hash)
{
        unsigned long flags;

        flags = page->flags & ~(1 << 3 | 1 << 1 | 1 << 4 | 1 << 2 | 1 << 13 | 1 << 12);
        page->flags = flags | (1 << 0);
        atomic_inc_return(&(page)->count);
        page->index = offset;
        add_page_to_inode_queue(mapping, page);
        add_page_to_hash_queue(page, hash);
}

static void lru_cache_add(struct page *page)
{
}

void add_to_page_cache(struct page * page, struct address_space * mapping, unsigned long offset)
{
        __add_to_page_cache(page, mapping, offset, (page_hash_table+_page_hashfn(mapping,offset)));
        lru_cache_add(page);
}


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

* [Bug c/11576] [3.3 only] internal error at emit-rtl.c:2017
  2003-07-18 13:39 [Bug c/11576] New: internal error at emit-rtl.c:2017 ysato at users dot sourceforge dot jp
@ 2003-07-18 14:08 ` pinskia at physics dot uc dot edu
  2003-07-18 15:00 ` pinskia at physics dot uc dot edu
                   ` (19 subsequent siblings)
  20 siblings, 0 replies; 23+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-18 14:08 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|internal error at emit-     |[3.3 only] internal error at
                   |rtl.c:2017                  |emit-rtl.c:2017
   Target Milestone|3.4                         |3.3.2


------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-18 14:08 -------
On the mainline (20030718), I cannot reproduce this so this looks like it only effects 3.3, I will try 
3.3.1 (the latest snapshot) unless someone beats me to it.


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

* [Bug c/11576] [3.3 only] internal error at emit-rtl.c:2017
  2003-07-18 13:39 [Bug c/11576] New: internal error at emit-rtl.c:2017 ysato at users dot sourceforge dot jp
  2003-07-18 14:08 ` [Bug c/11576] [3.3 only] " pinskia at physics dot uc dot edu
@ 2003-07-18 15:00 ` pinskia at physics dot uc dot edu
  2003-07-18 15:20 ` pinskia at physics dot uc dot edu
                   ` (18 subsequent siblings)
  20 siblings, 0 replies; 23+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-18 15:00 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-07-18 15:00:45
               date|                            |


------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-18 15:00 -------
I can reproduce this on 3.3.1 (20030714).


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

* [Bug c/11576] [3.3 only] internal error at emit-rtl.c:2017
  2003-07-18 13:39 [Bug c/11576] New: internal error at emit-rtl.c:2017 ysato at users dot sourceforge dot jp
  2003-07-18 14:08 ` [Bug c/11576] [3.3 only] " pinskia at physics dot uc dot edu
  2003-07-18 15:00 ` pinskia at physics dot uc dot edu
@ 2003-07-18 15:20 ` pinskia at physics dot uc dot edu
  2003-07-18 15:33 ` pinskia at physics dot uc dot edu
                   ` (17 subsequent siblings)
  20 siblings, 0 replies; 23+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-18 15:20 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-18 15:20 -------
It also happens in 3.2.3.


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

* [Bug c/11576] [3.3 only] internal error at emit-rtl.c:2017
  2003-07-18 13:39 [Bug c/11576] New: internal error at emit-rtl.c:2017 ysato at users dot sourceforge dot jp
                   ` (2 preceding siblings ...)
  2003-07-18 15:20 ` pinskia at physics dot uc dot edu
@ 2003-07-18 15:33 ` pinskia at physics dot uc dot edu
  2003-07-18 15:50 ` ysato at users dot sourceforge dot jp
                   ` (16 subsequent siblings)
  20 siblings, 0 replies; 23+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-18 15:33 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-18 15:33 -------
It also happens in 3.1.


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

* [Bug c/11576] [3.3 only] internal error at emit-rtl.c:2017
  2003-07-18 13:39 [Bug c/11576] New: internal error at emit-rtl.c:2017 ysato at users dot sourceforge dot jp
                   ` (3 preceding siblings ...)
  2003-07-18 15:33 ` pinskia at physics dot uc dot edu
@ 2003-07-18 15:50 ` ysato at users dot sourceforge dot jp
  2003-07-18 15:52 ` [Bug c/11576] [3.3 regression] " pinskia at physics dot uc dot edu
                   ` (15 subsequent siblings)
  20 siblings, 0 replies; 23+ messages in thread
From: ysato at users dot sourceforge dot jp @ 2003-07-18 15:50 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From ysato at users dot sourceforge dot jp  2003-07-18 15:50 -------
3.1.1 and 3.2.3 is no problem


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

* [Bug c/11576] [3.3 regression] internal error at emit-rtl.c:2017
  2003-07-18 13:39 [Bug c/11576] New: internal error at emit-rtl.c:2017 ysato at users dot sourceforge dot jp
                   ` (4 preceding siblings ...)
  2003-07-18 15:50 ` ysato at users dot sourceforge dot jp
@ 2003-07-18 15:52 ` pinskia at physics dot uc dot edu
  2003-07-18 16:18 ` ysato at users dot sourceforge dot jp
                   ` (14 subsequent siblings)
  20 siblings, 0 replies; 23+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-18 15:52 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[3.3 only] internal error at|[3.3 regression] internal
                   |emit-rtl.c:2017             |error at emit-rtl.c:2017


------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-18 15:52 -------
This is a regression from 3.0.4 where gcc did not ICE.


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

* [Bug c/11576] [3.3 regression] internal error at emit-rtl.c:2017
  2003-07-18 13:39 [Bug c/11576] New: internal error at emit-rtl.c:2017 ysato at users dot sourceforge dot jp
                   ` (5 preceding siblings ...)
  2003-07-18 15:52 ` [Bug c/11576] [3.3 regression] " pinskia at physics dot uc dot edu
@ 2003-07-18 16:18 ` ysato at users dot sourceforge dot jp
  2003-07-18 17:56 ` dhazeghi at yahoo dot com
                   ` (13 subsequent siblings)
  20 siblings, 0 replies; 23+ messages in thread
From: ysato at users dot sourceforge dot jp @ 2003-07-18 16:18 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From ysato at users dot sourceforge dot jp  2003-07-18 16:18 -------
testing snapshot ...
gcc version 3.3.1 20030714 (prerelease)

Result
gcc-bug.c: In function `add_to_page_cache':
gcc-bug.c:92: internal compiler error: in change_address_1, at emit-rtl.c:2020


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

* [Bug c/11576] [3.3 regression] internal error at emit-rtl.c:2017
  2003-07-18 13:39 [Bug c/11576] New: internal error at emit-rtl.c:2017 ysato at users dot sourceforge dot jp
                   ` (6 preceding siblings ...)
  2003-07-18 16:18 ` ysato at users dot sourceforge dot jp
@ 2003-07-18 17:56 ` dhazeghi at yahoo dot com
  2003-09-02 10:01 ` [Bug target/11576] " kazu at cs dot umass dot edu
                   ` (12 subsequent siblings)
  20 siblings, 0 replies; 23+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-07-18 17:56 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


dhazeghi at yahoo dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code


------- Additional Comments From dhazeghi at yahoo dot com  2003-07-18 17:56 -------
Only -mint32 -mh -Os needed to reproduce it. Workaround is to change -Os to -O1 or remove 
one of the other two options.


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

* [Bug target/11576] [3.3 regression] internal error at emit-rtl.c:2017
  2003-07-18 13:39 [Bug c/11576] New: internal error at emit-rtl.c:2017 ysato at users dot sourceforge dot jp
                   ` (7 preceding siblings ...)
  2003-07-18 17:56 ` dhazeghi at yahoo dot com
@ 2003-09-02 10:01 ` kazu at cs dot umass dot edu
  2003-09-03  0:38 ` kazu at cs dot umass dot edu
                   ` (11 subsequent siblings)
  20 siblings, 0 replies; 23+ messages in thread
From: kazu at cs dot umass dot edu @ 2003-09-02 10:01 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From kazu at cs dot umass dot edu  2003-09-02 10:01 -------
I simplified the testcase a little bit.

struct list_head {
  struct list_head *next, *prev;
};

struct atomic {
  int counter;
};

struct address_space {
  struct list_head clean_pages;
};

struct page {
  struct list_head list;
  struct address_space *mapping;
  unsigned long index;
  struct atomic count;
  unsigned long flags;
};

extern unsigned int page_hash_bits;

unsigned int page_hash_bits;

struct page **page_hash_table;

void add_page_to_hash_queue (struct page *page, struct page **p);

void lru_cache_add (struct page *page);

void
add_to_page_cache (struct page *page, struct address_space *mapping,
		   unsigned long offset)
{
  unsigned long m = ((unsigned long) mapping) / 4 + offset;
  unsigned long hash_value =
    (m + (m >> page_hash_bits)) & ((1 << page_hash_bits) - 1);
  struct page **hash = page_hash_table + hash_value;
  struct list_head *head;

  page->flags |= 1;

  {
    struct atomic *v = &page->count;
    int flags;

    asm volatile ("" : "=r" (flags) :             : "er0");
    v->counter++;
    asm volatile ("" :              : "r" (flags) : "er0");
  }

  page->index = offset;

  head = &mapping->clean_pages;

  {
    struct list_head *new = &page->list;
    struct list_head *prev = head;
    struct list_head *next = head->next;

    next->prev = new;
    new->next = next;
    new->prev = prev;
    prev->next = new;
  }

  add_page_to_hash_queue (page, hash);

  lru_cache_add (page);
}


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

* [Bug target/11576] [3.3 regression] internal error at emit-rtl.c:2017
  2003-07-18 13:39 [Bug c/11576] New: internal error at emit-rtl.c:2017 ysato at users dot sourceforge dot jp
                   ` (8 preceding siblings ...)
  2003-09-02 10:01 ` [Bug target/11576] " kazu at cs dot umass dot edu
@ 2003-09-03  0:38 ` kazu at cs dot umass dot edu
  2003-09-06  3:59 ` kazu at cs dot umass dot edu
                   ` (10 subsequent siblings)
  20 siblings, 0 replies; 23+ messages in thread
From: kazu at cs dot umass dot edu @ 2003-09-03  0:38 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From kazu at cs dot umass dot edu  2003-09-03 00:38 -------
Backporting the following patch solves the problem.

http://gcc.gnu.org/ml/gcc-cvs/2002-12/msg00640.html

I will talk to the author of the patch to see if it would make sense to have it
on 3.3 branch.


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

* [Bug target/11576] [3.3 regression] internal error at emit-rtl.c:2017
  2003-07-18 13:39 [Bug c/11576] New: internal error at emit-rtl.c:2017 ysato at users dot sourceforge dot jp
                   ` (9 preceding siblings ...)
  2003-09-03  0:38 ` kazu at cs dot umass dot edu
@ 2003-09-06  3:59 ` kazu at cs dot umass dot edu
  2003-09-06 14:42 ` kazu at cs dot umass dot edu
                   ` (9 subsequent siblings)
  20 siblings, 0 replies; 23+ messages in thread
From: kazu at cs dot umass dot edu @ 2003-09-06  3:59 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From kazu at cs dot umass dot edu  2003-09-06 03:59 -------
Slightly more reduced:

struct list {
  struct list *next, *prev;
};

struct page {
  struct list list;
  int index;
  int counter;
};

int bits, table;

int
foo (struct page *page, struct list *head, int offset)
{
  int value = (offset >> bits) & (1 << bits);
  int hash = table + value;

  page->index |= 1;

  {
    int *v = &page->counter;
    int flags;

    asm volatile ("" : "=r" (flags) :             : "er0");
    (*v)++;
    asm volatile ("" :              : "r" (flags) : "er0");
  }

  page->index = offset;

  {
    struct list *new = &page->list;
    struct list *prev = head;
    struct list *next = head->next;

    next->prev = new;
    new->next = next;
    new->prev = prev;
    prev->next = new;
  }

  return (int) page + hash;
}


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

* [Bug target/11576] [3.3 regression] internal error at emit-rtl.c:2017
  2003-07-18 13:39 [Bug c/11576] New: internal error at emit-rtl.c:2017 ysato at users dot sourceforge dot jp
                   ` (10 preceding siblings ...)
  2003-09-06  3:59 ` kazu at cs dot umass dot edu
@ 2003-09-06 14:42 ` kazu at cs dot umass dot edu
  2003-10-16  9:23 ` mmitchel at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  20 siblings, 0 replies; 23+ messages in thread
From: kazu at cs dot umass dot edu @ 2003-09-06 14:42 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From kazu at cs dot umass dot edu  2003-09-06 14:42 -------
Slightly more reduced:

struct page {
  struct page *next, *prev;
  int index;
  int counter;
};

int bits, table;

int
foo (struct page *new, struct page *head, int offset)
{
  int value = (offset + bits) & (1 << bits);
  int hash = table + value;

  new->index++;

  {
    int *v = &new->counter;
    int flags;

    asm volatile ("" : "=r" (flags) :             : "er0");
    (*v)++;
    asm volatile ("" :              : "r" (flags) : "er0");
  }

  new->index = offset;

  {
    struct page *prev = head;
    struct page *next = head->next;

    next->prev = new;
    new->next = next;
    new->prev = prev;
    prev->next = new;
  }

  return (int) new + hash;
}


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

* [Bug target/11576] [3.3 regression] internal error at emit-rtl.c:2017
  2003-07-18 13:39 [Bug c/11576] New: internal error at emit-rtl.c:2017 ysato at users dot sourceforge dot jp
                   ` (11 preceding siblings ...)
  2003-09-06 14:42 ` kazu at cs dot umass dot edu
@ 2003-10-16  9:23 ` mmitchel at gcc dot gnu dot org
  2003-12-01 22:36 ` zack at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  20 siblings, 0 replies; 23+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2003-10-16  9:23 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.3.2                       |3.3.3


------- Additional Comments From mmitchel at gcc dot gnu dot org  2003-10-16 09:23 -------
Postponed until GCC 3.3.3.


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

* [Bug target/11576] [3.3 regression] internal error at emit-rtl.c:2017
  2003-07-18 13:39 [Bug c/11576] New: internal error at emit-rtl.c:2017 ysato at users dot sourceforge dot jp
                   ` (12 preceding siblings ...)
  2003-10-16  9:23 ` mmitchel at gcc dot gnu dot org
@ 2003-12-01 22:36 ` zack at gcc dot gnu dot org
  2003-12-01 22:55   ` Gabriel Dos Reis
  2003-12-01 22:55 ` gdr at integrable-solutions dot net
                   ` (6 subsequent siblings)
  20 siblings, 1 reply; 23+ messages in thread
From: zack at gcc dot gnu dot org @ 2003-12-01 22:36 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From zack at gcc dot gnu dot org  2003-12-01 22:36 -------
since this is a case of "backport this from 3.4 to fix" we should get Gabriel's
opinion.

-- 


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


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

* [Bug target/11576] [3.3 regression] internal error at emit-rtl.c:2017
  2003-07-18 13:39 [Bug c/11576] New: internal error at emit-rtl.c:2017 ysato at users dot sourceforge dot jp
                   ` (13 preceding siblings ...)
  2003-12-01 22:36 ` zack at gcc dot gnu dot org
@ 2003-12-01 22:55 ` gdr at integrable-solutions dot net
  2003-12-01 23:08 ` zack at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  20 siblings, 0 replies; 23+ messages in thread
From: gdr at integrable-solutions dot net @ 2003-12-01 22:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gdr at integrable-solutions dot net  2003-12-01 22:55 -------
Subject: Re:  [3.3 regression] internal error at emit-rtl.c:2017

"zack at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:

| since this is a case of "backport this from 3.4 to fix" we should
| get Gabriel's opinion.

It is OK.  I missed the proposed fix for this PR.

Thanks for bringing it to my attention.

-- Gaby


-- 


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


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

* Re: [Bug target/11576] [3.3 regression] internal error at emit-rtl.c:2017
  2003-12-01 22:36 ` zack at gcc dot gnu dot org
@ 2003-12-01 22:55   ` Gabriel Dos Reis
  0 siblings, 0 replies; 23+ messages in thread
From: Gabriel Dos Reis @ 2003-12-01 22:55 UTC (permalink / raw)
  To: gcc-bugzilla; +Cc: gcc-bugs

"zack at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:

| since this is a case of "backport this from 3.4 to fix" we should
| get Gabriel's opinion.

It is OK.  I missed the proposed fix for this PR.

Thanks for bringing it to my attention.

-- Gaby


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

* [Bug target/11576] [3.3 regression] internal error at emit-rtl.c:2017
  2003-07-18 13:39 [Bug c/11576] New: internal error at emit-rtl.c:2017 ysato at users dot sourceforge dot jp
                   ` (14 preceding siblings ...)
  2003-12-01 22:55 ` gdr at integrable-solutions dot net
@ 2003-12-01 23:08 ` zack at gcc dot gnu dot org
  2003-12-21 20:53 ` gdr at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  20 siblings, 0 replies; 23+ messages in thread
From: zack at gcc dot gnu dot org @ 2003-12-01 23:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From zack at gcc dot gnu dot org  2003-12-01 23:08 -------
Kazu, would you please do the backport, re-test, and commit?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |kazu at cs dot umass dot edu
                   |dot org                     |
             Status|NEW                         |ASSIGNED


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


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

* [Bug target/11576] [3.3 regression] internal error at emit-rtl.c:2017
  2003-07-18 13:39 [Bug c/11576] New: internal error at emit-rtl.c:2017 ysato at users dot sourceforge dot jp
                   ` (15 preceding siblings ...)
  2003-12-01 23:08 ` zack at gcc dot gnu dot org
@ 2003-12-21 20:53 ` gdr at gcc dot gnu dot org
  2003-12-21 20:55 ` kazu at cs dot umass dot edu
                   ` (3 subsequent siblings)
  20 siblings, 0 replies; 23+ messages in thread
From: gdr at gcc dot gnu dot org @ 2003-12-21 20:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gdr at gcc dot gnu dot org  2003-12-21 20:46 -------
Kazu --
Do you think you have plan for this in time for 3.3.x?

-- Gaby


-- 


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


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

* [Bug target/11576] [3.3 regression] internal error at emit-rtl.c:2017
  2003-07-18 13:39 [Bug c/11576] New: internal error at emit-rtl.c:2017 ysato at users dot sourceforge dot jp
                   ` (16 preceding siblings ...)
  2003-12-21 20:53 ` gdr at gcc dot gnu dot org
@ 2003-12-21 20:55 ` kazu at cs dot umass dot edu
  2003-12-21 21:23 ` gdr at integrable-solutions dot net
                   ` (2 subsequent siblings)
  20 siblings, 0 replies; 23+ messages in thread
From: kazu at cs dot umass dot edu @ 2003-12-21 20:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From kazu at cs dot umass dot edu  2003-12-21 20:51 -------
I was about to put a comment.  Mid-air comflict!

Whee, the proposed backport does not fix the problem anymore!
I still get the same ICE.
Would you mind giving me a day or two to analyze this?
If it's beyond my capability, I'll give up with WONTFIX.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kazu at cs dot umass dot edu


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


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

* [Bug target/11576] [3.3 regression] internal error at emit-rtl.c:2017
  2003-07-18 13:39 [Bug c/11576] New: internal error at emit-rtl.c:2017 ysato at users dot sourceforge dot jp
                   ` (17 preceding siblings ...)
  2003-12-21 20:55 ` kazu at cs dot umass dot edu
@ 2003-12-21 21:23 ` gdr at integrable-solutions dot net
  2003-12-23 17:02 ` cvs-commit at gcc dot gnu dot org
  2003-12-23 18:10 ` kazu at cs dot umass dot edu
  20 siblings, 0 replies; 23+ messages in thread
From: gdr at integrable-solutions dot net @ 2003-12-21 21:23 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gdr at integrable-solutions dot net  2003-12-21 20:55 -------
Subject: Re:  [3.3 regression] internal error at emit-rtl.c:2017

"kazu at cs dot umass dot edu" <gcc-bugzilla@gcc.gnu.org> writes:

| Would you mind giving me a day or two to analyze this?

Sure.  You've till the end of the year :-)

| If it's beyond my capability, I'll give up with WONTFIX.

Thanks!

-- Gaby




-- 


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


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

* [Bug target/11576] [3.3 regression] internal error at emit-rtl.c:2017
  2003-07-18 13:39 [Bug c/11576] New: internal error at emit-rtl.c:2017 ysato at users dot sourceforge dot jp
                   ` (18 preceding siblings ...)
  2003-12-21 21:23 ` gdr at integrable-solutions dot net
@ 2003-12-23 17:02 ` cvs-commit at gcc dot gnu dot org
  2003-12-23 18:10 ` kazu at cs dot umass dot edu
  20 siblings, 0 replies; 23+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-12-23 17:02 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-12-23 15:10 -------
Subject: Bug 11576

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_3-branch
Changes by:	kazu@gcc.gnu.org	2003-12-23 15:10:26

Modified files:
	gcc            : ChangeLog 
	gcc/config/h8300: h8300.h 

Log message:
	PR target/11576
	* config/h8300/h8300.h (CONSTANT_ADDRESS_P): Allow CONST and
	HIGH on all variants.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.16114.2.858&r2=1.16114.2.859
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/h8300/h8300.h.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.123.2.2&r2=1.123.2.3



-- 


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


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

* [Bug target/11576] [3.3 regression] internal error at emit-rtl.c:2017
  2003-07-18 13:39 [Bug c/11576] New: internal error at emit-rtl.c:2017 ysato at users dot sourceforge dot jp
                   ` (19 preceding siblings ...)
  2003-12-23 17:02 ` cvs-commit at gcc dot gnu dot org
@ 2003-12-23 18:10 ` kazu at cs dot umass dot edu
  20 siblings, 0 replies; 23+ messages in thread
From: kazu at cs dot umass dot edu @ 2003-12-23 18:10 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From kazu at cs dot umass dot edu  2003-12-23 15:14 -------
Just committed a patch.


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


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


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

end of thread, other threads:[~2003-12-23 15:14 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-18 13:39 [Bug c/11576] New: internal error at emit-rtl.c:2017 ysato at users dot sourceforge dot jp
2003-07-18 14:08 ` [Bug c/11576] [3.3 only] " pinskia at physics dot uc dot edu
2003-07-18 15:00 ` pinskia at physics dot uc dot edu
2003-07-18 15:20 ` pinskia at physics dot uc dot edu
2003-07-18 15:33 ` pinskia at physics dot uc dot edu
2003-07-18 15:50 ` ysato at users dot sourceforge dot jp
2003-07-18 15:52 ` [Bug c/11576] [3.3 regression] " pinskia at physics dot uc dot edu
2003-07-18 16:18 ` ysato at users dot sourceforge dot jp
2003-07-18 17:56 ` dhazeghi at yahoo dot com
2003-09-02 10:01 ` [Bug target/11576] " kazu at cs dot umass dot edu
2003-09-03  0:38 ` kazu at cs dot umass dot edu
2003-09-06  3:59 ` kazu at cs dot umass dot edu
2003-09-06 14:42 ` kazu at cs dot umass dot edu
2003-10-16  9:23 ` mmitchel at gcc dot gnu dot org
2003-12-01 22:36 ` zack at gcc dot gnu dot org
2003-12-01 22:55   ` Gabriel Dos Reis
2003-12-01 22:55 ` gdr at integrable-solutions dot net
2003-12-01 23:08 ` zack at gcc dot gnu dot org
2003-12-21 20:53 ` gdr at gcc dot gnu dot org
2003-12-21 20:55 ` kazu at cs dot umass dot edu
2003-12-21 21:23 ` gdr at integrable-solutions dot net
2003-12-23 17:02 ` cvs-commit at gcc dot gnu dot org
2003-12-23 18:10 ` kazu at cs dot umass dot edu

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).