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

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

           Summary: [4.6 Regression] ICE: in extract_insn, at recog.c:2110
                    with -mavx -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 22065
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22065
reduced testcase

Compiler output:
$ gcc -O2 -mavx -ftree-vectorize pr46051.c          
pr46051.c: In function 'foo':
pr46051.c:15:1: error: unrecognizable insn:
(insn 41 40 42 3 (set (reg:V4DF 108)
        (vec_concat:V4DF (vec_select:V2DF (reg:V4DF 109)
                (parallel [
                        (const_int 0 [0])
                        (const_int 1 [0x1])
                    ]))
            (vec_select:V2DF (reg:V4DF 110)
                (parallel [
                        (const_int 0 [0])
                        (const_int 1 [0x1])
                    ])))) pr46051.c:13 -1
     (nil))
pr46051.c:15:1: internal compiler error: in extract_insn, at recog.c:2110
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested versions:
r165540 - crash
r163636 - OK


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

* [Bug tree-optimization/46051] [4.6 Regression] ICE: in extract_insn, at recog.c:2110 with -mavx -ftree-vectorize
  2010-10-16 20:11 [Bug tree-optimization/46051] New: [4.6 Regression] ICE: in extract_insn, at recog.c:2110 with -mavx -ftree-vectorize zsojka at seznam dot cz
@ 2010-10-16 23:09 ` hjl.tools at gmail dot com
  2010-10-17 18:06 ` [Bug target/46051] " ubizjak at gmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2010-10-16 23:09 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                URL|                            |http://gcc.gnu.org/ml/gcc-p
                   |                            |atches/2010-10/msg01410.htm
                   |                            |l
   Last reconfirmed|                            |2010.10.16 23:09:02
                 CC|                            |hjl.tools at gmail dot com
   Target Milestone|---                         |4.6.0
     Ever Confirmed|0                           |1

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2010-10-16 23:09:02 UTC ---
A patch is posted at

http://gcc.gnu.org/ml/gcc-patches/2010-10/msg01410.html


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

* [Bug target/46051] [4.6 Regression] ICE: in extract_insn, at recog.c:2110 with -mavx -ftree-vectorize
  2010-10-16 20:11 [Bug tree-optimization/46051] New: [4.6 Regression] ICE: in extract_insn, at recog.c:2110 with -mavx -ftree-vectorize zsojka at seznam dot cz
  2010-10-16 23:09 ` [Bug tree-optimization/46051] " hjl.tools at gmail dot com
@ 2010-10-17 18:06 ` ubizjak at gmail dot com
  2010-10-17 20:46 ` uros at gcc dot gnu.org
  2010-10-17 20:49 ` ubizjak at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: ubizjak at gmail dot com @ 2010-10-17 18:06 UTC (permalink / raw)
  To: gcc-bugs

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

Uros Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at gcc dot       |ubizjak at gmail dot com
                   |gnu.org                     |

--- Comment #2 from Uros Bizjak <ubizjak at gmail dot com> 2010-10-17 18:06:39 UTC ---
Created attachment 22071
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22071
Patch to fix expanders.

I have a different patch in testing.


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

* [Bug target/46051] [4.6 Regression] ICE: in extract_insn, at recog.c:2110 with -mavx -ftree-vectorize
  2010-10-16 20:11 [Bug tree-optimization/46051] New: [4.6 Regression] ICE: in extract_insn, at recog.c:2110 with -mavx -ftree-vectorize zsojka at seznam dot cz
  2010-10-16 23:09 ` [Bug tree-optimization/46051] " hjl.tools at gmail dot com
  2010-10-17 18:06 ` [Bug target/46051] " ubizjak at gmail dot com
@ 2010-10-17 20:46 ` uros at gcc dot gnu.org
  2010-10-17 20:49 ` ubizjak at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: uros at gcc dot gnu.org @ 2010-10-17 20:46 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from uros at gcc dot gnu.org 2010-10-17 20:46:04 UTC ---
Author: uros
Date: Sun Oct 17 20:46:01 2010
New Revision: 165599

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165599
Log:
    PR target/46051
    * config/i386/sse.md (vec_interleave_highv4df): Fix third RTX of
    generated sequence to match *avx_vperm2f128<mode>_nozero.
    (vec_interleave_lowv4df): Ditto.
    (vec_interleave_highv8sf): Ditto.
    (vec_interleave_lowv8sf): Ditto.

testsuite/ChangeLog:

    PR target/46051
    * gcc.target/i386/pr46051.c: New test.


Added:
    trunk/gcc/testsuite/gcc.target/i386/pr46051.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/sse.md
    trunk/gcc/testsuite/ChangeLog


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

* [Bug target/46051] [4.6 Regression] ICE: in extract_insn, at recog.c:2110 with -mavx -ftree-vectorize
  2010-10-16 20:11 [Bug tree-optimization/46051] New: [4.6 Regression] ICE: in extract_insn, at recog.c:2110 with -mavx -ftree-vectorize zsojka at seznam dot cz
                   ` (2 preceding siblings ...)
  2010-10-17 20:46 ` uros at gcc dot gnu.org
@ 2010-10-17 20:49 ` ubizjak at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: ubizjak at gmail dot com @ 2010-10-17 20:49 UTC (permalink / raw)
  To: gcc-bugs

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

Uros Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
                URL|http://gcc.gnu.org/ml/gcc-p |http://gcc.gnu.org/ml/gcc-p
                   |atches/2010-10/msg01410.htm |atches/2010-10/msg01447.htm
                   |l                           |l
         Resolution|                            |FIXED

--- Comment #4 from Uros Bizjak <ubizjak at gmail dot com> 2010-10-17 20:48:47 UTC ---
Fixed.


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

end of thread, other threads:[~2010-10-17 20:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-16 20:11 [Bug tree-optimization/46051] New: [4.6 Regression] ICE: in extract_insn, at recog.c:2110 with -mavx -ftree-vectorize zsojka at seznam dot cz
2010-10-16 23:09 ` [Bug tree-optimization/46051] " hjl.tools at gmail dot com
2010-10-17 18:06 ` [Bug target/46051] " ubizjak at gmail dot com
2010-10-17 20:46 ` uros at gcc dot gnu.org
2010-10-17 20:49 ` ubizjak at gmail dot 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).