public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/19119] New: [3.4 regression]  -msse -O2 causes ICE
@ 2004-12-21 21:34 hjl at lucon dot org
  2004-12-21 21:38 ` [Bug target/19119] " pinskia at gcc dot gnu dot org
  2004-12-23 17:11 ` reichelt at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: hjl at lucon dot org @ 2004-12-21 21:34 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug target/19119] [3.4 regression]  -msse -O2 causes ICE
  2004-12-21 21:34 [Bug target/19119] New: [3.4 regression] -msse -O2 causes ICE hjl at lucon dot org
@ 2004-12-21 21:38 ` pinskia at gcc dot gnu dot org
  2004-12-23 17:11 ` reichelt at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-21 21:38 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal
           Keywords|                            |ice-on-valid-code
      Known to work|                            |4.0.0
   Target Milestone|---                         |3.4.4


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug target/19119] [3.4 regression]  -msse -O2 causes ICE
  2004-12-21 21:34 [Bug target/19119] New: [3.4 regression] -msse -O2 causes ICE hjl at lucon dot org
  2004-12-21 21:38 ` [Bug target/19119] " pinskia at gcc dot gnu dot org
@ 2004-12-23 17:11 ` reichelt at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-12-23 17:11 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-12-23 17:11 -------
Fixed by Richard's patch for PR19102:
http://gcc.gnu.org/ml/gcc-cvs/2004-12/msg00917.html

Btw, I needed to add -march=i686 to the command line to trigger the bug.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-12-23 17:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-21 21:34 [Bug target/19119] New: [3.4 regression] -msse -O2 causes ICE hjl at lucon dot org
2004-12-21 21:38 ` [Bug target/19119] " pinskia at gcc dot gnu dot org
2004-12-23 17:11 ` reichelt at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).