Discussion:
[Bug target/33474] New: bfin: ICE: RTL check: expected code 'set' or 'clobber', have 'parallel' in bfin_adjust_cost, at config/bfin/bfin.c:3120
(too old to reply)
rask at gcc dot gnu dot org
2007-09-18 16:52:26 UTC
Permalink
Build failure in target libiberty:

/home/rask/build/gcc-bfin-unknown-elf/./gcc/xgcc
-B/home/rask/build/gcc-bfin-unknown-elf/./gcc/ -nostdinc
-B/home/rask/build/gcc-bfin-unknown-elf/bfin-unknown-elf/newlib/ -isystem
/home/rask/build/gcc-bfin-unknown-elf/bfin-unknown-elf/newlib/targ-include
-isystem /n/12/rask/src/all/newlib/libc/include
-B/home/rask/build/gcc-bfin-unknown-elf/bfin-unknown-elf/libgloss/bfin
-L/home/rask/build/gcc-bfin-unknown-elf/bfin-unknown-elf/libgloss/libnosys
-L/n/12/rask/src/all/libgloss/bfin -B/usr/local/bfin-unknown-elf/bin/
-B/usr/local/bfin-unknown-elf/lib/ -isystem /usr/local/bfin-unknown-elf/include
-isystem /usr/local/bfin-unknown-elf/sys-include
-L/home/rask/build/gcc-bfin-unknown-elf/./ld -c -DHAVE_CONFIG_H -O2 -g -O2
-I. -I/n/12/rask/src/all/libiberty/../include -W -Wall -Wwrite-strings
-Wc++-compat -Wstrict-prototypes -pedantic
/n/12/rask/src/all/libiberty/hashtab.c -o hashtab.o
/n/12/rask/src/all/libiberty/hashtab.c: In function 'iterative_hash':
/n/12/rask/src/all/libiberty/hashtab.c:955: internal compiler error: RTL check:
expected code 'set' or 'clobber', have 'parallel' in bfin_adjust_cost, at
config/bfin/bfin.c:3120

Configure flags:
--target bfin-unknown-elf --enable-checking=yes,rtl --with-newlib --enable-sim
--disable-gdb --disable-nls
--
Summary: bfin: ICE: RTL check: expected code 'set' or 'clobber',
have 'parallel' in bfin_adjust_cost, at
config/bfin/bfin.c:3120
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, build, ice-checking
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rask at gcc dot gnu dot org
GCC target triplet: bfin-unknown-elf


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33474
rask at gcc dot gnu dot org
2007-11-09 11:54:02 UTC
Permalink
------- Comment #1 from rask at gcc dot gnu dot org 2007-11-09 11:54 -------
Created an attachment (id=14514)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14514&action=view)
patch v1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33474
rask at gcc dot gnu dot org
2007-11-10 01:21:45 UTC
Permalink
------- Comment #2 from rask at gcc dot gnu dot org 2007-11-10 01:21 -------
I can't reproduce this with revision 127331 or 129967.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33474
rask at gcc dot gnu dot org
2007-12-03 17:34:57 UTC
Permalink
------- Comment #3 from rask at gcc dot gnu dot org 2007-12-03 17:34 -------
Created an attachment (id=14695)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14695&action=view)
testcase

This testcase fails with revision 130561.
./xgcc -B./ -O2 /tmp/hashtab.c -S -o /dev/null

(gdb) call debug_rtx (dep_insn)
(parallel [
(set (reg:PDI 33 A1)
(mem/c:PDI (plus:SI (reg/f:SI 15 FP)
(const_int -16 [0xfffffff0])) [23 S8 A32]))
(clobber (reg:SI 0 R0))
])
(gdb) call debug_rtx (pat)
Variable "pat" is not available.
--
rask at gcc dot gnu dot org changed:

What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rask at gcc dot gnu dot org
|dot org |
Status|UNCONFIRMED |ASSIGNED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33474
rask at gcc dot gnu dot org
2007-12-18 15:31:12 UTC
Permalink
------- Comment #4 from rask at gcc dot gnu dot org 2007-12-18 15:31 -------
Subject: Bug 33474

Author: rask
Date: Tue Dec 18 15:30:57 2007
New Revision: 131037

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131037
Log:
PR target/33474
* config/bfin/bfin.c (bfin_adjust_cost): Dig into PARALLELs to find
the SET.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/bfin/bfin.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33474
rask at gcc dot gnu dot org
2007-12-18 15:58:59 UTC
Permalink
------- Comment #5 from rask at gcc dot gnu dot org 2007-12-18 15:58 -------
Fixed with revision 131037.
--
rask at gcc dot gnu dot org changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Known to fail|4.3.0 |
Known to work| |4.3.0
Resolution| |FIXED


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