public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/18863] New: ICE in find_reloads
@ 2004-12-07  5:38 simonb at wasabisystems dot com
  2004-12-07  5:51 ` [Bug target/18863] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: simonb at wasabisystems dot com @ 2004-12-07  5:38 UTC (permalink / raw)
  To: gcc-bugs

Trying to compile a simple program results in:

zlib.i: In function 'huft_build':
zlib.i:26: internal compiler error: in find_reloads, at reload.c:3911
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

when compiled with
  gcc version 4.0.0 20041206 (experimental)

Here is the test program (reduced from some code in the zlib compression
library):

void huft_build (const int *, int *);

struct inflate_huft_s {
  union {
    char Exop;
  } word;
  int base;
};

void huft_build(e, v)
const int *e;
int *v;
{
  int k;
  struct inflate_huft_s r, *u[15];

  k = 0;
  u[0] = 0;

  for (; k <= 16; k++)
  {
      u[0][0] = r;
      if (*v < 19)
        r.word.Exop = (char)(e[*v] + 64);
  }
}

-- 
           Summary: ICE in find_reloads
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: simonb at wasabisystems dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i386-unknown-netbsdelf2.0F
  GCC host triplet: i386-unknown-netbsdelf2.0F
GCC target triplet: ns32k--netbsd


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


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

* [Bug target/18863] ICE in find_reloads
  2004-12-07  5:38 [Bug target/18863] New: ICE in find_reloads simonb at wasabisystems dot com
@ 2004-12-07  5:51 ` pinskia at gcc dot gnu dot org
  2004-12-07 13:45 ` giovannibajo at libero dot it
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-07  5:51 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-07 05:51 -------
This is the insn which is failing:
(insn 78 77 70 3 (set (strict_low_part (subreg:QI (reg/v:DI 0 r0 [orig:35 r ] [35]) 0))
        (plus:QI (mem:QI (reg/v/f:SI 3 r3 [orig:33 D1059 ] [33]) [2 S1 A32])
            (const_int 64 [0x40]))) 65 {*addqi_strict_low3} (nil)
    (nil))

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
      Known to fail|                            |4.0.0
   Last reconfirmed|0000-00-00 00:00:00         |2004-12-07 05:51:53
               date|                            |


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


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

* [Bug target/18863] ICE in find_reloads
  2004-12-07  5:38 [Bug target/18863] New: ICE in find_reloads simonb at wasabisystems dot com
  2004-12-07  5:51 ` [Bug target/18863] " pinskia at gcc dot gnu dot org
@ 2004-12-07 13:45 ` giovannibajo at libero dot it
  2004-12-07 14:15 ` simonb at wasabisystems dot com
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: giovannibajo at libero dot it @ 2004-12-07 13:45 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2004-12-07 13:45 -------
Is this a regression?

-- 


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


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

* [Bug target/18863] ICE in find_reloads
  2004-12-07  5:38 [Bug target/18863] New: ICE in find_reloads simonb at wasabisystems dot com
  2004-12-07  5:51 ` [Bug target/18863] " pinskia at gcc dot gnu dot org
  2004-12-07 13:45 ` giovannibajo at libero dot it
@ 2004-12-07 14:15 ` simonb at wasabisystems dot com
  2004-12-07 15:22 ` [Bug target/18863] [4.0 Regression] " pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: simonb at wasabisystems dot com @ 2004-12-07 14:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From simonb at wasabisystems dot com  2004-12-07 14:15 -------
Subject: Re:  ICE in find_reloads 

"giovannibajo at libero dot it" wrote:

> ----- Additional Comments From giovannibajo at libero dot it  2004-12-07 13:45 ----
> Is this a regression?

Yes it is.  gcc 3.3.3 can compile this test ok.

Cheers,
Simon.
--
Simon Burge                            <simonb@wasabisystems.com>
NetBSD Support and Service:         http://www.wasabisystems.com/


-- 


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


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

* [Bug target/18863] [4.0 Regression] ICE in find_reloads
  2004-12-07  5:38 [Bug target/18863] New: ICE in find_reloads simonb at wasabisystems dot com
                   ` (2 preceding siblings ...)
  2004-12-07 14:15 ` simonb at wasabisystems dot com
@ 2004-12-07 15:22 ` pinskia at gcc dot gnu dot org
  2004-12-18  7:43 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-07 15:22 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |3.3.3
            Summary|ICE in find_reloads         |[4.0 Regression] ICE in
                   |                            |find_reloads
   Target Milestone|---                         |4.0.0


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


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

* [Bug target/18863] [4.0 Regression] ICE in find_reloads
  2004-12-07  5:38 [Bug target/18863] New: ICE in find_reloads simonb at wasabisystems dot com
                   ` (3 preceding siblings ...)
  2004-12-07 15:22 ` [Bug target/18863] [4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2004-12-18  7:43 ` pinskia at gcc dot gnu dot org
  2005-01-21 17:33 ` mmitchel at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-18  7:43 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P3


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


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

* [Bug target/18863] [4.0 Regression] ICE in find_reloads
  2004-12-07  5:38 [Bug target/18863] New: ICE in find_reloads simonb at wasabisystems dot com
                   ` (4 preceding siblings ...)
  2004-12-18  7:43 ` pinskia at gcc dot gnu dot org
@ 2005-01-21 17:33 ` mmitchel at gcc dot gnu dot org
  2005-03-05 19:52 ` [Bug target/18863] [4.0/4.1 " pinskia at gcc dot gnu dot org
  2005-07-20  6:54 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-01-21 17:33 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2005-01-21 17:32 -------
ns32k is not a primary or secondary platform; removing target milestone.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.0                       |---


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


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

* [Bug target/18863] [4.0/4.1 Regression] ICE in find_reloads
  2004-12-07  5:38 [Bug target/18863] New: ICE in find_reloads simonb at wasabisystems dot com
                   ` (5 preceding siblings ...)
  2005-01-21 17:33 ` mmitchel at gcc dot gnu dot org
@ 2005-03-05 19:52 ` pinskia at gcc dot gnu dot org
  2005-07-20  6:54 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-05 19:52 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.0


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


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

* [Bug target/18863] [4.0/4.1 Regression] ICE in find_reloads
  2004-12-07  5:38 [Bug target/18863] New: ICE in find_reloads simonb at wasabisystems dot com
                   ` (6 preceding siblings ...)
  2005-03-05 19:52 ` [Bug target/18863] [4.0/4.1 " pinskia at gcc dot gnu dot org
@ 2005-07-20  6:54 ` pinskia at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-20  6:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-20 06:50 -------
Closing as will not fix as this target has now been removed from the mainline (for 4.1.0).

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX


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


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

end of thread, other threads:[~2005-07-20  6:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-07  5:38 [Bug target/18863] New: ICE in find_reloads simonb at wasabisystems dot com
2004-12-07  5:51 ` [Bug target/18863] " pinskia at gcc dot gnu dot org
2004-12-07 13:45 ` giovannibajo at libero dot it
2004-12-07 14:15 ` simonb at wasabisystems dot com
2004-12-07 15:22 ` [Bug target/18863] [4.0 Regression] " pinskia at gcc dot gnu dot org
2004-12-18  7:43 ` pinskia at gcc dot gnu dot org
2005-01-21 17:33 ` mmitchel at gcc dot gnu dot org
2005-03-05 19:52 ` [Bug target/18863] [4.0/4.1 " pinskia at gcc dot gnu dot org
2005-07-20  6:54 ` 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).