public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/46052] New: [4.6 Regression] ICE: in emit_move_insn, at expr.c:3386 with -ftree-vectorize
@ 2010-10-16 20:46 zsojka at seznam dot cz
  2010-10-16 23:13 ` [Bug tree-optimization/46052] " hjl.tools at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: zsojka at seznam dot cz @ 2010-10-16 20:46 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.6 Regression] ICE: in emit_move_insn, at
                    expr.c:3386 with -ftree-vectorize
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz


Created attachment 22066
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22066
reduced testcase

Compiler output:
$ gcc -O -ftree-pre -ftree-vectorize -funswitch-loops pr46052.c 
pr46052.c: In function 'foo':
pr46052.c:13:12: internal compiler error: in emit_move_insn, at expr.c:3386
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

When this diff is applied:
=========

  static inline char bar (void)
  {
+   return i ? i : 1;
  }

  void foo (int n)
=========

the ICE changes to:
$ gcc -O -ftree-pre -ftree-vectorize -funswitch-loops testcase.c
testcase.c: In function 'foo':
testcase.c:9:6: internal compiler error: RTL check: access of elt 16 of vector
with last elt 15 in store_constructor, at expr.c:5744
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r165540 - crash
r163636 - OK


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

end of thread, other threads:[~2010-10-21 13:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-16 20:46 [Bug tree-optimization/46052] New: [4.6 Regression] ICE: in emit_move_insn, at expr.c:3386 with -ftree-vectorize zsojka at seznam dot cz
2010-10-16 23:13 ` [Bug tree-optimization/46052] " hjl.tools at gmail dot com
2010-10-21 13:37 ` irar at gcc dot gnu.org
2010-10-21 13:46 ` irar at il dot ibm.com

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).