This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/24036] New: [e500] ICE in subreg_offset_representable_p, at rtlanal.c:3143
- From: "rmansfield at qnx dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Sep 2005 16:45:49 -0000
- Subject: [Bug middle-end/24036] New: [e500] ICE in subreg_offset_representable_p, at rtlanal.c:3143
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
ICE when using -mfloat-gprs=double with -mspe=no. Found in the e500 branch,
reproducible in mainline.
Test case:
typedef double _Complex _Dcomplex;
double (cabs)(_Dcomplex x) { }
[rmansfield@bender rmansfield]$
/home/rmansfield/crosstool/powerpc-linux-gnuspe/gcc-head-glibc-2.3.5/bin/powerpc-linux-gnuspe-gcc
-mfloat-gprs=double -mcpu=8548 ~/cabs.i -c -mspe=no -v
Using built-in specs.
Target: powerpc-linux-gnuspe
Configured with:
/home/rmansfield/crosstool-0.28-rc37/build/powerpc-linux-gnuspe/gcc-head-glibc-2.3.5/gcc-head/configure
--target=powerpc-linux-gnuspe --host=i686-host_pc-linux-gnu
--prefix=/home/rmansfield/crosstool/powerpc-linux-gnuspe/gcc-head-glibc-2.3.5
--with-local-prefix=/home/rmansfield/crosstool/powerpc-linux-gnuspe/gcc-head-glibc-2.3.5/powerpc-linux-gnuspe
--disable-multilib --with-newlib --without-headers --disable-nls
--enable-threads=no --enable-symvers=gnu --enable-__cxa_atexit
--enable-languages=c --disable-shared
Thread model: single
gcc version 4.1.0 20050917 (experimental)
/home/rmansfield/crosstool/powerpc-linux-gnuspe/gcc-head-glibc-2.3.5/libexec/gcc/powerpc-linux-gnuspe/4.1.0/cc1
-fpreprocessed /home/rmansfield/cabs.i -quiet -dumpbase cabs.i
-mfloat-gprs=double -mcpu=8548 -mspe=no -auxbase cabs -version -o /tmp/ccNYZQDL.s
GNU C version 4.1.0 20050917 (experimental) (powerpc-linux-gnuspe)
compiled by GNU C version 3.3.3 20040412 (Red Hat Linux 3.3.3-7).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 947d94ba0d127e0ee2614bdf9bacf926
/home/rmansfield/cabs.i: In function 'cabs':
/home/rmansfield/cabs.i:3: internal compiler error: in
subreg_offset_representable_p, at rtlanal.c:3143
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> If this is reproducible in mainline, could you submit this bug in bugzilla and
> assign it to me?
> Thanks
> Aldy
--
Summary: [e500] ICE in subreg_offset_representable_p, at
rtlanal.c:3143
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: middle-end
AssignedTo: aldyh at redhat dot com
ReportedBy: rmansfield at qnx dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-host_pc-linux-gnu
GCC host triplet: i686-host_pc-linux-gnu
GCC target triplet: powerpc-linux-gnuspe
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24036