This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

target/6927: ICE in final_scan_insn


>Number:         6927
>Category:       target
>Synopsis:       "could not split insn" error in C compiler for cris
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 04 05:16:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Bruno Haible
>Release:        3.1
>Organization:
GNU hackers
>Environment:
System: Linux linuix 2.4.18-4GB #1 Wed Mar 27 13:57:05 UTC 2002 i686 unknown
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: cris-axis-linux-gnu
configured with: /packages2/gcc-3.1/configure --enable-shared --disable-nls --target=cris-linux --prefix=/cross/cris-linux-tools --with-local-prefix=/cross/cris-linux/local --with-as=/cross/cris-linux-tools/bin/cris-linux-as --with-gnu-as --with-ld=/cross/cris-linux-tools/bin/cris-linux-ld --with-gnu-ld --enable-languages=c
>Description:

Internal compiler error is signaled for this input file. It occurs when
building glibc-2.2.5.

================================= swab.c ===============================
void swab (const char *from, char *to, int n)
{
  n &= ~1;
  while (n > 1)
    {
      const char b0 = from[--n], b1 = from[--n];
      to[n] = b0;
      to[n + 1] = b1;
    }
}
========================================================================

$ cris-linux-gcc -O2 -c /tmp/swab.c -o /tmp/swab.o
/tmp/swab.c: In function `swab':
/tmp/swab.c:10: could not split insn
(insn 36 35 39 (parallel[ 
            (set (mem:QI (plus:SI (reg/v/f:SI 11 r11 [24])
                        (reg/v:SI 12 r12 [25])) [0 S1 A8])
                (reg/v:QI 9 r9 [26]))
            (set (reg/f:SI 9 r9 [30])
                (plus:SI (reg/v/f:SI 11 r11 [24])
                    (reg/v:SI 12 r12 [25])))
        ] ) 23 {*mov_sideqi_mem} (insn_list 30 (nil))
    (nil))
/tmp/swab.c:10: Internal compiler error in final_scan_insn, at final.c:2622
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

>How-To-Repeat:

See above.

>Fix:

Unknown.
>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]