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/19119] New: [3.4 regression] -msse -O2 causes ICE


With gcc 3.4 checkout at Tue Dec 21 21:01:51 UTC 2004, I got

[hjl@gnu-1 tmp]$ cat foo.c
struct big { char c[4 * 1024]; };
struct big *array;
struct big *array_end;
int
main (int argc, char **argv)
{
  unsigned int i;
  unsigned int array_members = argv[1] ? atoi (argv[1]) : 50;
  array = (struct big *) malloc (array_members * sizeof *array);
  array_end = array + array_members;
  for (i = 0; i < array_members; i++)
    array[i].c[0] = i % 128;
  return 0;
}
[hjl@gnu-1 tmp]$ /usr/gcc-3.4/bin/gcc -S -O2 -msse foo.c
foo.c: In function `main':
foo.c:14: error: insn does not satisfy its constraints:
(insn 141 57 60 2 (set (reg/f:SI 21 xmm0 [orig:93 array ] [93])
        (reg:SI 0 ax)) 36 {*movsi_1} (nil)
    (nil))
foo.c:14: internal compiler error: in reload_cse_simplify_operands, at
postreload.c:391
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary: [3.4 regression]  -msse -O2 causes ICE
           Product: gcc
           Version: 3.4.4
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl at lucon dot org
                CC: gcc-bugs at gcc dot gnu dot org,rth at gcc dot gnu dot
                    org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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