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 target/11674] New: [3.4/3.3-hammer regression] ICE in emit_move_insn, at expr.c:3207


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: [3.4/3.3-hammer regression] ICE in emit_move_insn, at
                    expr.c:3207
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gbeauchesne at mandrakesoft dot com
                CC: gcc-bugs at gcc dot gnu dot org,jh at suse dot cz
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu

Hi, the following testcase (extracted from Mesa sources) fails to compile on
current 3.3-hammer and 3.4 (20030723) with "-O -march=pentium3 -mfpmath=sse".
This is a regression from plain 3.3-branch.

/* { dg-do compile { target i?86-*-* } } */
/* { dg-options "-O -march=pentium3 -mfpmath=sse" } */

static void f ()
{
  unsigned ui[2];
  int i;
  i = (float)ui[0];
}

[gb@hp6 gcc]$ ./cc1 --version
GNU C version 3.4 20030723 (experimental) (i686-pc-linux-gnu)

[gb@hp6 gcc]$ ./cc1 -O -march=pentium3 -mfpmath=sse ~/vrac/i386-ssefp-3.c
 f
/home/gb/vrac/i386-ssefp-3.c: In function `f':
/home/gb/vrac/i386-ssefp-3.c:8: internal compiler error: in emit_move_insn, at
expr.c:3207
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


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