public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/48808] New: ICE in spill_failure, at reload1.c:2113
@ 2011-04-28 17:14 rmansfield at qnx dot com
  2011-05-03 11:00 ` [Bug target/48808] " ibolton at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: rmansfield at qnx dot com @ 2011-04-28 17:14 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: ICE in spill_failure, at reload1.c:2113
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: rmansfield@qnx.com
              Host: i686-linux-gnu
            Target: arm-unknown-linux-gnueabi
             Build: i686-linux-gnu


Created attachment 24130
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24130
preprocessed source

$ ./xgcc -v
Using built-in specs.
COLLECT_GCC=./xgcc
Target: arm-unknown-linux-gnueabi
Configured with: ../configure --target=arm-unknown-linux-gnueabi
--prefix=/home/ryan/x-tools/arm-unknown-linux-gnueabi
--with-sysroot=/home/ryan/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi//sys-root
--disable-multilib
--with-local-prefix=/home/ryan/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sys-root
--disable-nls --enable-threads=posix --enable-symvers=gnu --enable-c99
--enable-long-long --enable-target-optspace
target_alias=arm-unknown-linux-gnueabi --enable-languages=c++ --disable-shared
--disable-libmudflap --disable-libssp
Thread model: posix
gcc version 4.7.0 20110428 (experimental) [trunk revision 173114] (GCC) 
$ ./xgcc -B. t.i -c -mfloat-abi=softfp -mfpu=vfpv3-d16 -march=armv7-a -O2
t.i: In function 'my_draw_arc':
t.i:209:1: error: unable to find a register to spill in class 'VFP_LO_REGS'
t.i:209:1: error: this is the insn:
(insn 39 41 43 2 (set (subreg:SI (reg:HI 234) 0)
        (fix:SI (fix:DF (reg:DF 77 s14 [233])))) t.i:32 666 {*truncsidf2_vfp}
     (expr_list:REG_DEAD (reg:DF 77 s14 [233])
        (nil)))
t.i:209:1: internal compiler error: in spill_failure, at reload1.c:2113
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


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

* [Bug target/48808] ICE in spill_failure, at reload1.c:2113
  2011-04-28 17:14 [Bug target/48808] New: ICE in spill_failure, at reload1.c:2113 rmansfield at qnx dot com
@ 2011-05-03 11:00 ` ibolton at gcc dot gnu.org
  2011-05-03 19:21 ` rmansfield at qnx dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: ibolton at gcc dot gnu.org @ 2011-05-03 11:00 UTC (permalink / raw)
  To: gcc-bugs

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

Ian Bolton <ibolton at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011.05.03 10:54:06
                 CC|                            |ibolton at gcc dot gnu.org
     Ever Confirmed|0                           |1
      Known to fail|                            |4.7.0

--- Comment #1 from Ian Bolton <ibolton at gcc dot gnu.org> 2011-05-03 10:54:06 UTC ---
Confirmed on r173122 of trunk, using the command-line args provided by the
reporter.

I have managed to traced it back to happening somewhere between r172185 (works)
and r172316 (ICEs) of trunk.  Looking through the Changelogs for "reload", the
most likely candidates are:

r172297 | cltang | 2011-04-12 05:42:55 +0100 (Tue, 12 Apr 2011) | 10 lines

2011-04-11  Chung-Lin Tang  <cltang@codesourcery.com>
            Richard Earnshaw  <rearnsha@arm.com>

        PR target/48250
        * config/arm/arm.c (arm_legitimize_reload_address): Update cases
        to use sign-magnitude offsets. Reject unsupported unaligned
        cases. Add detailed description in comments.
        * config/arm/arm.md (reload_outdf): Disable for ARM mode; change
        condition from TARGET_32BIT to TARGET_ARM.

r172231 | aesok | 2011-04-09 20:10:45 +0100 (Sat, 09 Apr 2011) | 8 lines

        * expr.c (expand_expr_real_1): Use add_to_hard_reg_set function
        instead of loop.
        * sel-sched.c (mark_unavailable_hard_regs): Likewise.
        * function.c (record_hard_reg_sets): Likewise.
        * ira.c (compute_regs_asm_clobbered): Likewise.
        * sched-deps.c (sched_analyze_1): Likewise.
        * reload1.c (mark_reload_reg_in_use, choose_reload_regs): Likewise.

r172197 | danglin | 2011-04-08 17:21:39 +0100 (Fri, 08 Apr 2011) | 12 lines

        PR target/48366
        * config/pa/pa.c (hppa_register_move_cost): Increase to 18 cost of
        move from floating point to shift amount register .
        (emit_move_sequence): Remove secondary reload support for floating
        point to shift amount amount register copies.
        (pa_secondary_reload): Return GENERAL_REGS for floating point/shift
        amount register copies.
        * config/pa/pa32-regs.h (HARD_REGNO_MODE_OK): For shift amount
        register, return false if mode isn't a scalar integer mode.
        * config/pa/pa64-regs.h (HARD_REGNO_MODE_OK): Likewise.

I don't have more time to devote to investigating this today, but hopefully
someone else will be able to work out which change it was.


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

* [Bug target/48808] ICE in spill_failure, at reload1.c:2113
  2011-04-28 17:14 [Bug target/48808] New: ICE in spill_failure, at reload1.c:2113 rmansfield at qnx dot com
  2011-05-03 11:00 ` [Bug target/48808] " ibolton at gcc dot gnu.org
@ 2011-05-03 19:21 ` rmansfield at qnx dot com
  2011-06-01 19:47 ` rsandifo at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rmansfield at qnx dot com @ 2011-05-03 19:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Ryan Mansfield <rmansfield at qnx dot com> 2011-05-03 19:20:35 UTC ---
The change that introduced the ICE is rev 172201.

http://gcc.gnu.org/viewcvs?view=revision&revision=172201


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

* [Bug target/48808] ICE in spill_failure, at reload1.c:2113
  2011-04-28 17:14 [Bug target/48808] New: ICE in spill_failure, at reload1.c:2113 rmansfield at qnx dot com
  2011-05-03 11:00 ` [Bug target/48808] " ibolton at gcc dot gnu.org
  2011-05-03 19:21 ` rmansfield at qnx dot com
@ 2011-06-01 19:47 ` rsandifo at gcc dot gnu.org
  2011-06-03 21:14 ` [Bug rtl-optimization/48808] " ramana at gcc dot gnu.org
  2015-06-24 23:50 ` ramana at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2011-06-01 19:47 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> 2011-06-01 19:47:22 UTC ---
Author: rsandifo
Date: Wed Jun  1 19:47:19 2011
New Revision: 174540

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174540
Log:
gcc/
    PR rtl-optimization/48830
    PR rtl-optimization/48808
    PR rtl-optimization/48792
    * reload.c (push_reload): Check contains_reg_of_mode.
    * reload1.c (strip_paradoxical_subreg): New function.
    (gen_reload_chain_without_interm_reg_p): Use it to handle
    paradoxical subregs.
    (emit_output_reload_insns, gen_reload): Likewise.

gcc/testsuite/
2011-06-01  Eric Botcazou  <ebotcazou@adacore.com>
        Hans-Peter Nilsson  <hp@axis.com>

    PR rtl-optimization/48830
    * gcc.target/sparc/ultrasp12.c: New test.

Added:
    trunk/gcc/testsuite/gcc.target/sparc/ultrasp12.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/reload.c
    trunk/gcc/reload1.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug rtl-optimization/48808] ICE in spill_failure, at reload1.c:2113
  2011-04-28 17:14 [Bug target/48808] New: ICE in spill_failure, at reload1.c:2113 rmansfield at qnx dot com
                   ` (2 preceding siblings ...)
  2011-06-01 19:47 ` rsandifo at gcc dot gnu.org
@ 2011-06-03 21:14 ` ramana at gcc dot gnu.org
  2015-06-24 23:50 ` ramana at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: ramana at gcc dot gnu.org @ 2011-06-03 21:14 UTC (permalink / raw)
  To: gcc-bugs

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

Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ramana at gcc dot gnu.org
          Component|target                      |rtl-optimization

--- Comment #4 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> 2011-06-03 21:13:59 UTC ---
This appears to be fixed on trunk . It appears to work with the command line
options that are specified on 4.6 branch. 


Reclassified. 


Ramana


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

* [Bug rtl-optimization/48808] ICE in spill_failure, at reload1.c:2113
  2011-04-28 17:14 [Bug target/48808] New: ICE in spill_failure, at reload1.c:2113 rmansfield at qnx dot com
                   ` (3 preceding siblings ...)
  2011-06-03 21:14 ` [Bug rtl-optimization/48808] " ramana at gcc dot gnu.org
@ 2015-06-24 23:50 ` ramana at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: ramana at gcc dot gnu.org @ 2015-06-24 23:50 UTC (permalink / raw)
  To: gcc-bugs

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

Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:

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

--- Comment #5 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> ---
Fixed in 4.7.0


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

end of thread, other threads:[~2015-06-24 23:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-28 17:14 [Bug target/48808] New: ICE in spill_failure, at reload1.c:2113 rmansfield at qnx dot com
2011-05-03 11:00 ` [Bug target/48808] " ibolton at gcc dot gnu.org
2011-05-03 19:21 ` rmansfield at qnx dot com
2011-06-01 19:47 ` rsandifo at gcc dot gnu.org
2011-06-03 21:14 ` [Bug rtl-optimization/48808] " ramana at gcc dot gnu.org
2015-06-24 23:50 ` ramana 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).