public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hjl at lucon dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/19119] New: [3.4 regression]  -msse -O2 causes ICE
Date: Tue, 21 Dec 2004 21:34:00 -0000	[thread overview]
Message-ID: <20041221213422.19119.hjl@lucon.org> (raw)

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


             reply	other threads:[~2004-12-21 21:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-21 21:34 hjl at lucon dot org [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041221213422.19119.hjl@lucon.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).