This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/11499] New: ICE in simplify_gen_subreg, at simplify-rtx.c on ia64.
- From: "kobras at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jul 2003 14:30:09 -0000
- Subject: [Bug c/11499] New: ICE in simplify_gen_subreg, at simplify-rtx.c on ia64.
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11499
Summary: ICE in simplify_gen_subreg, at simplify-rtx.c on ia64.
Product: gcc
Version: 3.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kobras at debian dot org
CC: gcc-bugs at gcc dot gnu dot org
The following is a boiled down testcase that compiles fine on 9 different Linux
architectures, but fails on Linux/ia64 with gcc3. 2.x versions of gcc used to
work fine. The actual version used for testing was
$ gcc -v
Reading specs from /usr/lib/gcc-lib/ia64-linux/3.3.1/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib
--enable-nls --without-included-gettext --enable-__cxa_atexit
--enable-clocale=gnu --enable-debug --enable-java-gc=boehm
--enable-java-awt=xlib --enable-objc-gc ia64-linux
Thread model: posix
gcc version 3.3.1 20030626 (Debian prerelease)
Here's the testcase code:
$ cat test2.i
# 1 "test2.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "test2.c"
typedef struct { float u, v; } Point2;
static int PointInTri (Point2 p0, Point2 p1, Point2 p2,
Point2 p3, Point2 p4)
{
Point2 tmp;
tmp = p4;
}
It fails with:
$ gcc -c test2.i
test2.c: In function `PointInTri':
test2.c:8: internal compiler error: in simplify_gen_subreg, at simplify-rtx.c:2742