public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/45913] New: [4.6 Regression] ICE: in insn_default_length, at config/i386/i386.md:584 with -fselective-scheduling2 -fsel-sched-pipelining -fsel-sched-pipelining-outer-loops
@ 2010-10-06 18:35 zsojka at seznam dot cz
  2010-10-07  1:25 ` [Bug target/45913] " hjl.tools at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: zsojka at seznam dot cz @ 2010-10-06 18:35 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.6 Regression] ICE: in insn_default_length, at
                    config/i386/i386.md:584 with -fselective-scheduling2
                    -fsel-sched-pipelining
                    -fsel-sched-pipelining-outer-loops
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz


Command line:
$ gcc -O2 -fselective-scheduling2 -fsel-sched-pipelining
-fsel-sched-pipelining-outer-loops testcase.c

Compiler output:
$ gcc -O2 -fselective-scheduling2 -fsel-sched-pipelining
-fsel-sched-pipelining-outer-loops testcase.c
testcase.c: In function 'foo':
testcase.c:19:1: error: unrecognizable insn:
(insn:TI 110 50 107 (parallel [
            (set (reg/v:SI 3 bx [orig:82 j ] [82])
                (and:SI (mem/c:SI (plus:DI (reg/f:DI 7 sp)
                            (const_int 4 [0x4])) [3 %sfp+-524 S4 A32])
                    (const_int 255 [0xff])))
            (clobber (reg:CC 17 flags))
        ]) -1
     (nil))
testcase.c:19:1: internal compiler error: in insn_default_length, at
config/i386/i386.md:584
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r164716 - crash
r163636 - OK
4.5 r163761 - OK


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

* [Bug target/45913] [4.6 Regression] ICE: in insn_default_length, at config/i386/i386.md:584 with -fselective-scheduling2 -fsel-sched-pipelining -fsel-sched-pipelining-outer-loops
  2010-10-06 18:35 [Bug target/45913] New: [4.6 Regression] ICE: in insn_default_length, at config/i386/i386.md:584 with -fselective-scheduling2 -fsel-sched-pipelining -fsel-sched-pipelining-outer-loops zsojka at seznam dot cz
@ 2010-10-07  1:25 ` hjl.tools at gmail dot com
  2010-10-07  1:31 ` hjl.tools at gmail dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: hjl.tools at gmail dot com @ 2010-10-07  1:25 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2010.10.07 01:25:13
                 CC|                            |matz at gcc dot gnu.org
   Target Milestone|---                         |4.6.0
     Ever Confirmed|0                           |1

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2010-10-07 01:25:13 UTC ---
It is triggered by revision 163998:

http://gcc.gnu.org/ml/gcc-cvs/2010-09/msg00290.html


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

* [Bug target/45913] [4.6 Regression] ICE: in insn_default_length, at config/i386/i386.md:584 with -fselective-scheduling2 -fsel-sched-pipelining -fsel-sched-pipelining-outer-loops
  2010-10-06 18:35 [Bug target/45913] New: [4.6 Regression] ICE: in insn_default_length, at config/i386/i386.md:584 with -fselective-scheduling2 -fsel-sched-pipelining -fsel-sched-pipelining-outer-loops zsojka at seznam dot cz
  2010-10-07  1:25 ` [Bug target/45913] " hjl.tools at gmail dot com
@ 2010-10-07  1:31 ` hjl.tools at gmail dot com
  2010-10-07  2:24 ` hjl.tools at gmail dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: hjl.tools at gmail dot com @ 2010-10-07  1:31 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ubizjak at gmail dot com

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2010-10-07 01:31:21 UTC ---
Can we implement it

(insn:TI 110 50 107 (parallel [
            (set (reg/v:SI 3 bx [orig:82 j ] [82])
                (and:SI (mem/c:SI (plus:DI (reg/f:DI 7 sp)
                            (const_int 4 [0x4])) [3 %sfp+-524 S4 A32])
                    (const_int 255 [0xff])))
            (clobber (reg:CC 17 flags))
        ]) -1
     (nil))

as "movzbl m8,reg"?


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

* [Bug target/45913] [4.6 Regression] ICE: in insn_default_length, at config/i386/i386.md:584 with -fselective-scheduling2 -fsel-sched-pipelining -fsel-sched-pipelining-outer-loops
  2010-10-06 18:35 [Bug target/45913] New: [4.6 Regression] ICE: in insn_default_length, at config/i386/i386.md:584 with -fselective-scheduling2 -fsel-sched-pipelining -fsel-sched-pipelining-outer-loops zsojka at seznam dot cz
  2010-10-07  1:25 ` [Bug target/45913] " hjl.tools at gmail dot com
  2010-10-07  1:31 ` hjl.tools at gmail dot com
@ 2010-10-07  2:24 ` hjl.tools at gmail dot com
  2010-10-09  5:34 ` hjl at gcc dot gnu.org
  2010-10-26  1:05 ` jakub at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: hjl.tools at gmail dot com @ 2010-10-07  2:24 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-p
                   |                            |atches/2010-10/msg00533.htm
                   |                            |l
                 CC|                            |hjl.tools at gmail dot com

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> 2010-10-07 02:24:12 UTC ---
A patch is posted at

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


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

* [Bug target/45913] [4.6 Regression] ICE: in insn_default_length, at config/i386/i386.md:584 with -fselective-scheduling2 -fsel-sched-pipelining -fsel-sched-pipelining-outer-loops
  2010-10-06 18:35 [Bug target/45913] New: [4.6 Regression] ICE: in insn_default_length, at config/i386/i386.md:584 with -fselective-scheduling2 -fsel-sched-pipelining -fsel-sched-pipelining-outer-loops zsojka at seznam dot cz
                   ` (2 preceding siblings ...)
  2010-10-07  2:24 ` hjl.tools at gmail dot com
@ 2010-10-09  5:34 ` hjl at gcc dot gnu.org
  2010-10-26  1:05 ` jakub at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: hjl at gcc dot gnu.org @ 2010-10-09  5:34 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2010-10-09 05:34:15 UTC ---
Author: hjl
Date: Sat Oct  9 05:34:10 2010
New Revision: 165215

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165215
Log:
Support "andhi/andsi/anddi" as a zero-extending move.

gcc/

2010-10-08  H.J. Lu  <hongjiu.lu@intel.com>

    PR target/45913
    * config/i386/i386.c (ix86_binary_operator_ok): Support
    "andhi/andsi/anddi" as a zero-extending move.

gcc/testsuite/

2010-10-08  H.J. Lu  <hongjiu.lu@intel.com>

    PR target/45913
    * gcc.target/i386/pr45913.c: New.

Added:
    trunk/gcc/testsuite/gcc.target/i386/pr45913.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug target/45913] [4.6 Regression] ICE: in insn_default_length, at config/i386/i386.md:584 with -fselective-scheduling2 -fsel-sched-pipelining -fsel-sched-pipelining-outer-loops
  2010-10-06 18:35 [Bug target/45913] New: [4.6 Regression] ICE: in insn_default_length, at config/i386/i386.md:584 with -fselective-scheduling2 -fsel-sched-pipelining -fsel-sched-pipelining-outer-loops zsojka at seznam dot cz
                   ` (3 preceding siblings ...)
  2010-10-09  5:34 ` hjl at gcc dot gnu.org
@ 2010-10-26  1:05 ` jakub at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-10-26  1:05 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|                            |FIXED

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-10-26 01:05:25 UTC ---
Fixed.


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

end of thread, other threads:[~2010-10-26  1:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-06 18:35 [Bug target/45913] New: [4.6 Regression] ICE: in insn_default_length, at config/i386/i386.md:584 with -fselective-scheduling2 -fsel-sched-pipelining -fsel-sched-pipelining-outer-loops zsojka at seznam dot cz
2010-10-07  1:25 ` [Bug target/45913] " hjl.tools at gmail dot com
2010-10-07  1:31 ` hjl.tools at gmail dot com
2010-10-07  2:24 ` hjl.tools at gmail dot com
2010-10-09  5:34 ` hjl at gcc dot gnu.org
2010-10-26  1:05 ` jakub at gcc dot gnu.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).