public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/66611] New: SH: ICE on -O2
@ 2015-06-20  8:21 ysato at users dot sourceforge.jp
  2015-06-20 13:30 ` [Bug target/66611] " olegendo at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: ysato at users dot sourceforge.jp @ 2015-06-20  8:21 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66611

            Bug ID: 66611
           Summary: SH: ICE on -O2
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ysato at users dot sourceforge.jp
  Target Milestone: ---

Created attachment 35819
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35819&action=edit
problem source code

$ LANG=C sh-unknown-linux-gcc -O2 -mb -m2 w83627ehf.c
w83627ehf.c: In function 'show_caseopen':
w83627ehf.c:24361:1: error: insn does not satisfy its constraints:
 }
 ^
(insn 118 95 119 2 (set (reg:SI 1 r1)
        (sign_extend:SI (mem:QI (plus:SI (reg/f:SI 8 r8 [175])
                    (const_int 12 [0xc])) [0 MEM[(struct
sensor_device_attribute_2 *)attr_6(D)].index+0 S1 A32]))) w83627ehf.c:24359 232
{*extendqisi2_compact_mem_disp}
     (nil))
w83627ehf.c:24361:1: internal compiler error: in extract_constrain_insn, at
recog.c:2221
0x94aed8 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        ../../gcc/rtl-error.c:109
0x94aeff _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        ../../gcc/rtl-error.c:120
0x9155f7 extract_constrain_insn(rtx_insn*)
        ../../gcc/recog.c:2221
0x918f86 copyprop_hardreg_forward_1
        ../../gcc/regcprop.c:800
0x919bed execute
        ../../gcc/regcprop.c:1290
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.


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

* [Bug target/66611] SH: ICE on -O2
  2015-06-20  8:21 [Bug target/66611] New: SH: ICE on -O2 ysato at users dot sourceforge.jp
@ 2015-06-20 13:30 ` olegendo at gcc dot gnu.org
  2015-06-25 23:12 ` olegendo at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: olegendo at gcc dot gnu.org @ 2015-06-20 13:30 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66611

Oleg Endo <olegendo at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kkojima at gcc dot gnu.org,
                   |                            |olegendo at gcc dot gnu.org

--- Comment #1 from Oleg Endo <olegendo at gcc dot gnu.org> ---
Basically, this is the same issure as PR 66358.  Thanks for the additional test
case.


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

* [Bug target/66611] SH: ICE on -O2
  2015-06-20  8:21 [Bug target/66611] New: SH: ICE on -O2 ysato at users dot sourceforge.jp
  2015-06-20 13:30 ` [Bug target/66611] " olegendo at gcc dot gnu.org
@ 2015-06-25 23:12 ` olegendo at gcc dot gnu.org
  2015-06-27  0:47 ` olegendo at gcc dot gnu.org
  2015-06-27  0:51 ` [Bug target/66611] [5 Regression][SH] " olegendo at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: olegendo at gcc dot gnu.org @ 2015-06-25 23:12 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66611

--- Comment #3 from Oleg Endo <olegendo at gcc dot gnu.org> ---
Author: olegendo
Date: Thu Jun 25 23:12:07 2015
New Revision: 224988

URL: https://gcc.gnu.org/viewcvs?rev=224988&root=gcc&view=rev
Log:
gcc/
        PR target/65979
        PR target/66611
        * config/sh/sh.md (tstsi_t peephole2): Use insn_invalid_p to check if
        the replacement insn will work.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/sh/sh.md


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

* [Bug target/66611] SH: ICE on -O2
  2015-06-20  8:21 [Bug target/66611] New: SH: ICE on -O2 ysato at users dot sourceforge.jp
  2015-06-20 13:30 ` [Bug target/66611] " olegendo at gcc dot gnu.org
  2015-06-25 23:12 ` olegendo at gcc dot gnu.org
@ 2015-06-27  0:47 ` olegendo at gcc dot gnu.org
  2015-06-27  0:51 ` [Bug target/66611] [5 Regression][SH] " olegendo at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: olegendo at gcc dot gnu.org @ 2015-06-27  0:47 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66611

--- Comment #4 from Oleg Endo <olegendo at gcc dot gnu.org> ---
Author: olegendo
Date: Sat Jun 27 00:46:58 2015
New Revision: 225094

URL: https://gcc.gnu.org/viewcvs?rev=225094&root=gcc&view=rev
Log:
gcc/
        Backport from mainline
        2015-06-25  Oleg Endo  <olegendo@gcc.gnu.org>

        PR target/65979
        PR target/66611
        * config/sh/sh.md (tstsi_t peephole2): Use insn_invalid_p to check if
        the replacement insn will work.

Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/config/sh/sh.md


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

* [Bug target/66611] [5 Regression][SH] ICE on -O2
  2015-06-20  8:21 [Bug target/66611] New: SH: ICE on -O2 ysato at users dot sourceforge.jp
                   ` (2 preceding siblings ...)
  2015-06-27  0:47 ` olegendo at gcc dot gnu.org
@ 2015-06-27  0:51 ` olegendo at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: olegendo at gcc dot gnu.org @ 2015-06-27  0:51 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66611

Oleg Endo <olegendo at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Oleg Endo <olegendo at gcc dot gnu.org> ---
Should be fixed now.


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

end of thread, other threads:[~2015-06-27  0:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-20  8:21 [Bug target/66611] New: SH: ICE on -O2 ysato at users dot sourceforge.jp
2015-06-20 13:30 ` [Bug target/66611] " olegendo at gcc dot gnu.org
2015-06-25 23:12 ` olegendo at gcc dot gnu.org
2015-06-27  0:47 ` olegendo at gcc dot gnu.org
2015-06-27  0:51 ` [Bug target/66611] [5 Regression][SH] " olegendo 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).