This is the mail archive of the gcc-bugs@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]

[Bug c/11499] New: ICE in simplify_gen_subreg, at simplify-rtx.c on ia64.


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


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