public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "zsojka at seznam dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/44332]  New: ICE: in copy_to_mode_reg, at explow.c:623 with -mno-sse2
Date: Sun, 30 May 2010 13:37:00 -0000	[thread overview]
Message-ID: <bug-44332-14164@http.gcc.gnu.org/bugzilla/> (raw)

Compiler output:
$ gcc -mno-sse2 testcase.c
testcase.c: In function 'foo':
testcase.c:6:6: internal compiler error: in copy_to_mode_reg, at explow.c:635
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r160048 - crash
r153685 - crash
4.4 r158133 - crash

----- testcase.c -----
typedef __attribute__((vector_size(16))) char type;

extern void bar(type);
void foo(type x) { bar(x); }
----------------------


A bit different testcase gives:

$ gcc -mno-sse2 testcase2.c
testcase2.c: In function 'foo':
testcase2.c:4:29: internal compiler error: in emit_move_insn, at expr.c:3428
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

----- testcase2.c -----
typedef __attribute__((vector_size(16))) char type;

extern void bar(type);
void foo(void) { type x; bar(x); }
-----------------------


-- 
           Summary: ICE: in copy_to_mode_reg, at explow.c:623 with -mno-sse2
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zsojka at seznam dot cz
  GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu


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


             reply	other threads:[~2010-05-30 13:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-30 13:37 zsojka at seznam dot cz [this message]
2010-05-30 15:21 ` [Bug target/44332] " rguenth at gcc dot gnu dot org
2010-05-30 16:55 ` steven 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=bug-44332-14164@http.gcc.gnu.org/bugzilla/ \
    --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).