public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/20582] New: ip2k-elf doesn't build
@ 2005-03-21 22:01 kazu at cs dot umass dot edu
  2005-03-21 22:04 ` [Bug target/20582] " pinskia at gcc dot gnu dot org
  2005-03-26 18:42 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: kazu at cs dot umass dot edu @ 2005-03-21 22:01 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1716 bytes --]

ip2k-elf doesn't build.  The build process fails while building gcc.
Specifically, __gcc_bcmp hits an ICE like so:

/home/kazu/gnu/gcc/gcc-develop/gcc/gcc/libgcc2.c: In function ^[$-1òø__gcc_bcmpòù:
/home/kazu/gnu/gcc/gcc-develop/gcc/gcc/libgcc2.c:1797: error: insn does not
satisfy its constraints:
(insn 120 42 103 3 /home/kazu/gnu/gcc/gcc-develop/gcc/gcc/libgcc2.c:1793 (set
(reg:HI 128 $80 [orig:280 D.1980 ] [280])
        (minus:HI (reg:HI 136 $88 [orig:285 c1 ] [285])
            (zero_extend:HI (reg/v:QI 128 $80 [orig:278 c2 ] [278])))) 48
{*subhi3_nonimm_zero_extend} (nil)
    (expr_list:REG_DEAD (reg:HI 136 $88 [orig:285 c1 ] [285])
        (nil)))
/home/kazu/gnu/gcc/gcc-develop/gcc/gcc/libgcc2.c:1797: internal compiler error:
in copyprop_hardreg_forward_1, at regrename.c:1570
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

Here is a testcase, derived from a preprocessed source.

typedef unsigned int size_t;

int
__gcc_bcmp (const unsigned char *s1, const unsigned char *s2, size_t size)
{
  while (size > 0)
    {
      const unsigned char c1 = *s1++, c2 = *s2++;
      if (c1 != c2)
	return c1 - c2;
      size--;
    }
  return 0;
}

-- 
           Summary: ip2k-elf doesn't build
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kazu at cs dot umass dot edu
                CC: denisc at overta dot ru,gcc-bugs at gcc dot gnu dot org
GCC target triplet: ip2k-elf


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


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

* [Bug target/20582] ip2k-elf doesn't build
  2005-03-21 22:01 [Bug bootstrap/20582] New: ip2k-elf doesn't build kazu at cs dot umass dot edu
@ 2005-03-21 22:04 ` pinskia at gcc dot gnu dot org
  2005-03-26 18:42 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-21 22:04 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|bootstrap                   |target
           Keywords|                            |build, ice-on-valid-code
            Version|unknown                     |4.1.0


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


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

* [Bug target/20582] ip2k-elf doesn't build
  2005-03-21 22:01 [Bug bootstrap/20582] New: ip2k-elf doesn't build kazu at cs dot umass dot edu
  2005-03-21 22:04 ` [Bug target/20582] " pinskia at gcc dot gnu dot org
@ 2005-03-26 18:42 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-26 18:42 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-03-26 18:42:21
               date|                            |


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


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

end of thread, other threads:[~2005-03-26 18:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-21 22:01 [Bug bootstrap/20582] New: ip2k-elf doesn't build kazu at cs dot umass dot edu
2005-03-21 22:04 ` [Bug target/20582] " pinskia at gcc dot gnu dot org
2005-03-26 18:42 ` 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).