Bug 14405 - arm-rtems fails to build with ICE on libc
Summary: arm-rtems fails to build with ICE on libc
Status: RESOLVED DUPLICATE of bug 14166
Alias: None
Product: gcc
Classification: Unclassified
Component: bootstrap (show other bugs)
Version: 3.3.3
: P2 critical
Target Milestone: 3.3.4
Assignee: Not yet assigned to anyone
URL:
Keywords: ice-on-valid-code
Depends on:
Blocks:
 
Reported: 2004-03-03 13:45 UTC by Joel Sherrill
Modified: 2005-07-23 22:49 UTC (History)
1 user (show)

See Also:
Host: i686-pc-linux-gnu
Target: arm-rtems
Build: i686-pc-linux-gnu
Known to work:
Known to fail:
Last reconfirmed:


Attachments
preprocessed failure case (2.13 KB, text/plain)
2004-03-03 14:06 UTC, Joel Sherrill
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joel Sherrill 2004-03-03 13:45:34 UTC
home/rtems/src/packages/BUILD/rtems-4.7-arm-rtems4.7-gcc-newlib-gcc3.3.3newlib1.11.0/build/gcc/xgcc
-B/home/rtems/src/packages/BUILD/rtems-4.7-arm-rtems4.7-gcc-newlib-gcc3.3.3newlib1.11.0/build/gcc/
-nostdinc
-B/home/rtems/src/packages/BUILD/rtems-4.7-arm-rtems4.7-gcc-newlib-gcc3.3.3newlib1.11.0/build/arm-rtems4.7/newlib/
-isystem
/home/rtems/src/packages/BUILD/rtems-4.7-arm-rtems4.7-gcc-newlib-gcc3.3.3newlib1.11.0/build/arm-rtems4.7/newlib/targ-include
-isystem
/home/rtems/src/packages/BUILD/rtems-4.7-arm-rtems4.7-gcc-newlib-gcc3.3.3newlib1.11.0/gcc-3.3.3/newlib/libc/include
-B/opt/rtems-4.7/arm-rtems4.7/bin/ -B/opt/rtems-4.7/arm-rtems4.7/lib/ -isystem
/opt/rtems-4.7/arm-rtems4.7/include -O2
-I../../gcc-3.3.3/gcc/../newlib/libc/sys/rtems/include -DIN_GCC -DCROSS_COMPILE
  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem
./include  -Dinhibit_libc -fno-inline -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc-3.3.3/gcc
-I../../gcc-3.3.3/gcc/. -I../../gcc-3.3.3/gcc/config
-I../../gcc-3.3.3/gcc/../include -DFINE_GRAINED_LIBRARIES -mthumb -DL_pack_df -c
dp-bit.c -o libgcc/thumb/_pack_df.o
dp-bit.c: In function `__pack_d':
dp-bit.c:411: error: insn does not satisfy its constraints:
(insn:HI 333 331 561 0x401b7ec8 (set (reg:HI 3 r3 [109])
        (mem:HI (label_ref 584) [0 S2 A16])) 169 {*thumb_movhi_insn}
(insn_list:REG_DEP_ANTI 330 (insn_list:REG_DEP_OUTPUT 329 (nil)))
    (expr_list:REG_EQUIV (const_int 2047 [0x7ff])
        (nil)))
dp-bit.c:411: internal compiler error: in extract_constrain_insn_cached, at
recog.c:2090
Comment 1 Joel Sherrill 2004-03-03 14:06:37 UTC
Created attachment 5851 [details]
preprocessed failure case

I extracted the failing file from the full build and this is the preprocessed
output along with a smaller command line.  It compiles at -O1 but gives the
ICE at -O2.  

./xgcc -B./ -B/opt/rtems-4.7/arm-rtems4.7/bin/	 -O2	-mthumb  -c
pr14405test.c
Comment 2 Joel Sherrill 2004-03-03 14:11:07 UTC
regression from 3.3.2.  I verified the test case compiles with the same 
binutils and older arm-rtems-gcc.
Comment 3 Andrew Pinski 2004-03-03 16:58:30 UTC
This is a dup of bug 14166.

*** This bug has been marked as a duplicate of 14166 ***