public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/45946] New: ICE: in extract_insn, at recog.c:2127 when using _Decimal128 with -Os -fno-omit-frame-pointer
@ 2010-10-08 20:08 zsojka at seznam dot cz
  2010-10-20 15:02 ` [Bug target/45946] " zsojka at seznam dot cz
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: zsojka at seznam dot cz @ 2010-10-08 20:08 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: ICE: in extract_insn, at recog.c:2127 when using
                    _Decimal128 with -Os -fno-omit-frame-pointer
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz


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

Compiler output:
$ gcc -Os -fno-omit-frame-pointer pr45946.c 
pr45946.c: In function 'foo':
pr45946.c:9:1: error: unrecognizable insn:
(insn 13 12 14 3 (set (mem/i:TI (pre_dec:DI (reg/f:DI 7 sp)) [0 S16 A128])
        (const_double 0 [0] 3476778912330022912 [0x3040000000000000] 0 [0] 0
[0])) pr45946.c:8 -1
     (nil))
pr45946.c:9:1: internal compiler error: in extract_insn, at recog.c:2127
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r165152 - crash


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

* [Bug target/45946] ICE: in extract_insn, at recog.c:2127 when using _Decimal128 with -Os -fno-omit-frame-pointer
  2010-10-08 20:08 [Bug target/45946] New: ICE: in extract_insn, at recog.c:2127 when using _Decimal128 with -Os -fno-omit-frame-pointer zsojka at seznam dot cz
@ 2010-10-20 15:02 ` zsojka at seznam dot cz
  2010-10-20 18:03 ` hjl.tools at gmail dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: zsojka at seznam dot cz @ 2010-10-20 15:02 UTC (permalink / raw)
  To: gcc-bugs

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

Zdenek Sojka <zsojka at seznam dot cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |4.3.5, 4.4.5, 4.5.2

--- Comment #1 from Zdenek Sojka <zsojka at seznam dot cz> 2010-10-20 15:02:12 UTC ---
4.1.2 doesn't know _Decimal128, 4.2.4 refuses to compile

$ gcc-4.1.2 -Os -fno-omit-frame-pointer pr45946.c
pr45946.c:3: warning: parameter names (without types) in function declaration

$ gcc-4.2.4 pr45946.c
pr45946.c:2: error: decimal floating point not supported for this target

4.3.5 and newer compile without any optimisation, but fail with given flags


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

* [Bug target/45946] ICE: in extract_insn, at recog.c:2127 when using _Decimal128 with -Os -fno-omit-frame-pointer
  2010-10-08 20:08 [Bug target/45946] New: ICE: in extract_insn, at recog.c:2127 when using _Decimal128 with -Os -fno-omit-frame-pointer zsojka at seznam dot cz
  2010-10-20 15:02 ` [Bug target/45946] " zsojka at seznam dot cz
@ 2010-10-20 18:03 ` hjl.tools at gmail dot com
  2010-10-21 20:42 ` uros at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2010-10-20 18:03 UTC (permalink / raw)
  To: gcc-bugs

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

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/msg01724.htm
                   |                            |l
   Last reconfirmed|                            |2010.10.20 18:03:32
                 CC|                            |hjl.tools at gmail dot com
     Ever Confirmed|0                           |1

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2010-10-20 18:03:32 UTC ---
A patch is posted at

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


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

* [Bug target/45946] ICE: in extract_insn, at recog.c:2127 when using _Decimal128 with -Os -fno-omit-frame-pointer
  2010-10-08 20:08 [Bug target/45946] New: ICE: in extract_insn, at recog.c:2127 when using _Decimal128 with -Os -fno-omit-frame-pointer zsojka at seznam dot cz
  2010-10-20 15:02 ` [Bug target/45946] " zsojka at seznam dot cz
  2010-10-20 18:03 ` hjl.tools at gmail dot com
@ 2010-10-21 20:42 ` uros at gcc dot gnu.org
  2010-10-22  4:56 ` uros at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: uros at gcc dot gnu.org @ 2010-10-21 20:42 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from uros at gcc dot gnu.org 2010-10-21 20:42:13 UTC ---
Author: uros
Date: Thu Oct 21 20:42:09 2010
New Revision: 165787

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165787
Log:
    PR target/45946
    * config/i386/i386.md (*pushti2): New insn pattern.
    (pushti2 splitter): New insn splitter.
    (*push<mode>2): Macroize insn pattern from *push{di,ti}2 using
    DWI mode iterator.

testsuite/ChangeLog:

    PR target/45946
    * gcc.target/i386/pr45946.c: New test.


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


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

* [Bug target/45946] ICE: in extract_insn, at recog.c:2127 when using _Decimal128 with -Os -fno-omit-frame-pointer
  2010-10-08 20:08 [Bug target/45946] New: ICE: in extract_insn, at recog.c:2127 when using _Decimal128 with -Os -fno-omit-frame-pointer zsojka at seznam dot cz
                   ` (2 preceding siblings ...)
  2010-10-21 20:42 ` uros at gcc dot gnu.org
@ 2010-10-22  4:56 ` uros at gcc dot gnu.org
  2010-10-22 12:29 ` uros at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: uros at gcc dot gnu.org @ 2010-10-22  4:56 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from uros at gcc dot gnu.org 2010-10-22 04:56:45 UTC ---
Author: uros
Date: Fri Oct 22 04:56:41 2010
New Revision: 165801

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165801
Log:
    PR target/45946
    * config/i386/i386.md (*pushti2): New insn pattern.
    (pushti2 splitter): New insn splitter.

testsuite/ChangeLog:

    PR target/45946
    * gcc.target/i386/pr45946.c: New test.


Added:
    branches/gcc-4_5-branch/gcc/testsuite/gcc.target/i386/pr45946.c
Modified:
    branches/gcc-4_5-branch/gcc/ChangeLog
    branches/gcc-4_5-branch/gcc/config/i386/i386.md
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog


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

* [Bug target/45946] ICE: in extract_insn, at recog.c:2127 when using _Decimal128 with -Os -fno-omit-frame-pointer
  2010-10-08 20:08 [Bug target/45946] New: ICE: in extract_insn, at recog.c:2127 when using _Decimal128 with -Os -fno-omit-frame-pointer zsojka at seznam dot cz
                   ` (3 preceding siblings ...)
  2010-10-22  4:56 ` uros at gcc dot gnu.org
@ 2010-10-22 12:29 ` uros at gcc dot gnu.org
  2010-10-22 15:15 ` uros at gcc dot gnu.org
  2010-10-22 16:21 ` ubizjak at gmail dot com
  6 siblings, 0 replies; 8+ messages in thread
From: uros at gcc dot gnu.org @ 2010-10-22 12:29 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from uros at gcc dot gnu.org 2010-10-22 12:29:09 UTC ---
Author: uros
Date: Fri Oct 22 12:29:03 2010
New Revision: 165824

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165824
Log:
    PR target/45946
    * config/i386/i386.md (*pushti2): New insn pattern.
    (pushti2 splitter): New insn splitter.

testsuite/ChangeLog:

    PR target/45946
    * gcc.target/i386/pr45946.c: New test.


Added:
    branches/gcc-4_4-branch/gcc/testsuite/gcc.target/i386/pr45946.c
Modified:
    branches/gcc-4_4-branch/gcc/ChangeLog
    branches/gcc-4_4-branch/gcc/config/i386/i386.md
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


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

* [Bug target/45946] ICE: in extract_insn, at recog.c:2127 when using _Decimal128 with -Os -fno-omit-frame-pointer
  2010-10-08 20:08 [Bug target/45946] New: ICE: in extract_insn, at recog.c:2127 when using _Decimal128 with -Os -fno-omit-frame-pointer zsojka at seznam dot cz
                   ` (4 preceding siblings ...)
  2010-10-22 12:29 ` uros at gcc dot gnu.org
@ 2010-10-22 15:15 ` uros at gcc dot gnu.org
  2010-10-22 16:21 ` ubizjak at gmail dot com
  6 siblings, 0 replies; 8+ messages in thread
From: uros at gcc dot gnu.org @ 2010-10-22 15:15 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from uros at gcc dot gnu.org 2010-10-22 15:15:22 UTC ---
Author: uros
Date: Fri Oct 22 15:15:16 2010
New Revision: 165836

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165836
Log:
    PR target/45946
    * config/i386/i386.md (*pushti2): New insn pattern.
    (pushti2 splitter): New insn splitter.

testsuite/ChangLog:

    PR target/45946
    * gcc.target/i386/pr45946.c: New test.


Added:
    branches/gcc-4_3-branch/gcc/testsuite/gcc.target/i386/pr45946.c
Modified:
    branches/gcc-4_3-branch/gcc/ChangeLog
    branches/gcc-4_3-branch/gcc/config/i386/i386.md
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog


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

* [Bug target/45946] ICE: in extract_insn, at recog.c:2127 when using _Decimal128 with -Os -fno-omit-frame-pointer
  2010-10-08 20:08 [Bug target/45946] New: ICE: in extract_insn, at recog.c:2127 when using _Decimal128 with -Os -fno-omit-frame-pointer zsojka at seznam dot cz
                   ` (5 preceding siblings ...)
  2010-10-22 15:15 ` uros at gcc dot gnu.org
@ 2010-10-22 16:21 ` ubizjak at gmail dot com
  6 siblings, 0 replies; 8+ messages in thread
From: ubizjak at gmail dot com @ 2010-10-22 16:21 UTC (permalink / raw)
  To: gcc-bugs

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

Uros Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.3.6

--- Comment #7 from Uros Bizjak <ubizjak at gmail dot com> 2010-10-22 16:21:36 UTC ---
Fixed.


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

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

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-08 20:08 [Bug target/45946] New: ICE: in extract_insn, at recog.c:2127 when using _Decimal128 with -Os -fno-omit-frame-pointer zsojka at seznam dot cz
2010-10-20 15:02 ` [Bug target/45946] " zsojka at seznam dot cz
2010-10-20 18:03 ` hjl.tools at gmail dot com
2010-10-21 20:42 ` uros at gcc dot gnu.org
2010-10-22  4:56 ` uros at gcc dot gnu.org
2010-10-22 12:29 ` uros at gcc dot gnu.org
2010-10-22 15:15 ` uros at gcc dot gnu.org
2010-10-22 16:21 ` 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).