public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/64019] New: ICE in extract_constrain_insn
@ 2014-11-21 18:17 pthaugen at gcc dot gnu.org
  2014-11-21 18:29 ` [Bug target/64019] " dje at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: pthaugen at gcc dot gnu.org @ 2014-11-21 18:17 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 64019
           Summary: ICE in extract_constrain_insn
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: meissner at gcc dot gnu.org
          Reporter: pthaugen at gcc dot gnu.org
              Host: powerpc64-unknown-linux-gnu
            Target: powerpc64-unknown-linux-gnu
             Build: powerpc64-unknown-linux-gnu

Created attachment 34070
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34070&action=edit
reduced testcase

ICE building CPU2000 benchmark 188.ammp. Compiled with 'gcc -c -m32 -O2
-mcpu=power7 -ffast-math unonbon.c'.

unonbon.c:63:1: error: insn does not satisfy its constraints:
 }
 ^
(insn 140 88 272 4 (set (reg:DF 108 31 [374])
        (mem/u/c:DF (lo_sum:SI (reg:SI 9 9 [377])
                (symbol_ref/u:SI ("*.LC1") [flags 0x82])) [2  S8 A64])) 466
{*movdf_hardfloat32}
     (expr_list:REG_EQUIV (const_double:DF 1.0e+0 [0x0.8p+1])
        (nil)))
unonbon.c:63:1: internal compiler error: in extract_constrain_insn, at
recog.c:2230
0x106df363 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
    /home/pthaugen/src/gcc/trunk/gcc/gcc/rtl-error.c:110
0x106df3bb _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
    /home/pthaugen/src/gcc/trunk/gcc/gcc/rtl-error.c:121
0x106a5e6f extract_constrain_insn(rtx_insn*)
    /home/pthaugen/src/gcc/trunk/gcc/gcc/recog.c:2230
0x10680a83 reload_cse_simplify_operands
    /home/pthaugen/src/gcc/trunk/gcc/gcc/postreload.c:415
0x10681b4b reload_cse_simplify
    /home/pthaugen/src/gcc/trunk/gcc/gcc/postreload.c:134
0x10681b4b reload_cse_regs_1
    /home/pthaugen/src/gcc/trunk/gcc/gcc/postreload.c:231
0x106834cb reload_cse_regs
    /home/pthaugen/src/gcc/trunk/gcc/gcc/postreload.c:79
0x106834cb execute
    /home/pthaugen/src/gcc/trunk/gcc/gcc/postreload.c:2352
Please submit a full bug report,


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

* [Bug target/64019] ICE in extract_constrain_insn
  2014-11-21 18:17 [Bug target/64019] New: ICE in extract_constrain_insn pthaugen at gcc dot gnu.org
@ 2014-11-21 18:29 ` dje at gcc dot gnu.org
  2014-11-26 22:40 ` meissner at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: dje at gcc dot gnu.org @ 2014-11-21 18:29 UTC (permalink / raw)
  To: gcc-bugs

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

David Edelsohn <dje at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-11-21
                 CC|                            |dje at gcc dot gnu.org
   Target Milestone|---                         |5.0
     Ever confirmed|0                           |1

--- Comment #1 from David Edelsohn <dje at gcc dot gnu.org> ---
Confirmed.


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

* [Bug target/64019] ICE in extract_constrain_insn
  2014-11-21 18:17 [Bug target/64019] New: ICE in extract_constrain_insn pthaugen at gcc dot gnu.org
  2014-11-21 18:29 ` [Bug target/64019] " dje at gcc dot gnu.org
@ 2014-11-26 22:40 ` meissner at gcc dot gnu.org
  2014-12-03 18:40 ` meissner at gcc dot gnu.org
  2014-12-04 16:21 ` pthaugen at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: meissner at gcc dot gnu.org @ 2014-11-26 22:40 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Michael Meissner <meissner at gcc dot gnu.org> ---
Created attachment 34127
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34127&action=edit
Proposed patch to fix the problem

I believe this patch fixes the problem.  If nothing else crops up, I will
submit this when I get back into work on Monday December 1st.


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

* [Bug target/64019] ICE in extract_constrain_insn
  2014-11-21 18:17 [Bug target/64019] New: ICE in extract_constrain_insn pthaugen at gcc dot gnu.org
  2014-11-21 18:29 ` [Bug target/64019] " dje at gcc dot gnu.org
  2014-11-26 22:40 ` meissner at gcc dot gnu.org
@ 2014-12-03 18:40 ` meissner at gcc dot gnu.org
  2014-12-04 16:21 ` pthaugen at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: meissner at gcc dot gnu.org @ 2014-12-03 18:40 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Michael Meissner <meissner at gcc dot gnu.org> ---
Author: meissner
Date: Wed Dec  3 18:39:22 2014
New Revision: 218327

URL: https://gcc.gnu.org/viewcvs?rev=218327&root=gcc&view=rev
Log:
[gcc]
2014-12-03  Michael Meissner  <meissner@linux.vnet.ibm.com>

    PR target/64019
    * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
    not create LO_SUM address for constant addresses if the type can
    go in Altivec registers.

[gcc/testsuite]
2014-12-03  Michael Meissner  <meissner@linux.vnet.ibm.com>

    PR target/64019
    * gcc.target/powerpc/pr64019.c: New file.


Added:
    trunk/gcc/testsuite/gcc.target/powerpc/pr64019.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/rs6000.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug target/64019] ICE in extract_constrain_insn
  2014-11-21 18:17 [Bug target/64019] New: ICE in extract_constrain_insn pthaugen at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2014-12-03 18:40 ` meissner at gcc dot gnu.org
@ 2014-12-04 16:21 ` pthaugen at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: pthaugen at gcc dot gnu.org @ 2014-12-04 16:21 UTC (permalink / raw)
  To: gcc-bugs

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

Pat Haugen <pthaugen at gcc dot gnu.org> changed:

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

--- Comment #4 from Pat Haugen <pthaugen at gcc dot gnu.org> ---
Fixed.


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

end of thread, other threads:[~2014-12-04 16:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-21 18:17 [Bug target/64019] New: ICE in extract_constrain_insn pthaugen at gcc dot gnu.org
2014-11-21 18:29 ` [Bug target/64019] " dje at gcc dot gnu.org
2014-11-26 22:40 ` meissner at gcc dot gnu.org
2014-12-03 18:40 ` meissner at gcc dot gnu.org
2014-12-04 16:21 ` pthaugen 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).