public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/48792] New: ICE in failed_reload, at reload1.c:6000
@ 2011-04-27 15:34 rmansfield at qnx dot com
  2011-05-03 12:58 ` [Bug target/48792] " 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-27 15:34 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: ICE in failed_reload, at reload1.c:6000
           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 24117
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24117
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 20110427 (experimental) [trunk revision 173031] (GCC) 

$ ./xgcc -B.  -c  -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16  -O2 t.ii
t.ii: In member function 'void
icu_46::ValueRecord::adjustPosition(icu_46::ValueFormat, const char*,
icu_46::GlyphIterator&, const icu_46::LEFontInstance*) const':
t.ii:62:7: error: could not find a spill register
(insn 21 24 25 3 (set (subreg:SI (reg:HI 160) 0)
        (fix:SI (fix:SF (reg:SF 0 r0)))) t.ii:48 665 {*truncsisf2_vfp}
     (expr_list:REG_DEAD (reg:SF 0 r0)
        (nil)))
t.ii:62:7: internal compiler error: in failed_reload, at reload1.c:6000
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/48792] ICE in failed_reload, at reload1.c:6000
  2011-04-27 15:34 [Bug target/48792] New: ICE in failed_reload, at reload1.c:6000 rmansfield at qnx dot com
@ 2011-05-03 12:58 ` ibolton at gcc dot gnu.org
  2011-05-04  0:25 ` 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 12:58 UTC (permalink / raw)
  To: gcc-bugs

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

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 12:54:27
                 CC|                            |ibolton at gcc dot gnu.org
      Known to work|                            |4.7.0
           See Also|                            |http://gcc.gnu.org/bugzilla
                   |                            |/show_bug.cgi?id=48808
     Ever Confirmed|0                           |1

--- Comment #1 from Ian Bolton <ibolton at gcc dot gnu.org> 2011-05-03 12:54:27 UTC ---
Confirmed.

r170870 works.
r172057 is broken.

I think this is related to PR48808, but that one works for r172057, so I think
that there is more likely some root cause that gets exposed in these two PRs.


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

* [Bug target/48792] ICE in failed_reload, at reload1.c:6000
  2011-04-27 15:34 [Bug target/48792] New: ICE in failed_reload, at reload1.c:6000 rmansfield at qnx dot com
  2011-05-03 12:58 ` [Bug target/48792] " ibolton at gcc dot gnu.org
@ 2011-05-04  0:25 ` rmansfield at qnx dot com
  2011-06-01 19:48 ` 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-04  0:25 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Ryan Mansfield <rmansfield at qnx dot com> 2011-05-04 00:22:54 UTC ---
The change that introduced this ICE is rev171520.

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


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

* [Bug target/48792] ICE in failed_reload, at reload1.c:6000
  2011-04-27 15:34 [Bug target/48792] New: ICE in failed_reload, at reload1.c:6000 rmansfield at qnx dot com
  2011-05-03 12:58 ` [Bug target/48792] " ibolton at gcc dot gnu.org
  2011-05-04  0:25 ` rmansfield at qnx dot com
@ 2011-06-01 19:48 ` rsandifo at gcc dot gnu.org
  2011-06-03 21:03 ` ramana at gcc dot gnu.org
  2011-06-03 21:15 ` [Bug rtl-optimization/48792] " 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:48 UTC (permalink / raw)
  To: gcc-bugs

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

--- 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 target/48792] ICE in failed_reload, at reload1.c:6000
  2011-04-27 15:34 [Bug target/48792] New: ICE in failed_reload, at reload1.c:6000 rmansfield at qnx dot com
                   ` (2 preceding siblings ...)
  2011-06-01 19:48 ` rsandifo at gcc dot gnu.org
@ 2011-06-03 21:03 ` ramana at gcc dot gnu.org
  2011-06-03 21:15 ` [Bug rtl-optimization/48792] " 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:03 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #4 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> 2011-06-03 21:02:57 UTC ---
This is now fixed. 

Ramana


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

* [Bug rtl-optimization/48792] ICE in failed_reload, at reload1.c:6000
  2011-04-27 15:34 [Bug target/48792] New: ICE in failed_reload, at reload1.c:6000 rmansfield at qnx dot com
                   ` (3 preceding siblings ...)
  2011-06-03 21:03 ` ramana at gcc dot gnu.org
@ 2011-06-03 21:15 ` 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:15 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #5 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> 2011-06-03 21:14:31 UTC ---
And properly reclassified.


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

end of thread, other threads:[~2011-06-03 21:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-27 15:34 [Bug target/48792] New: ICE in failed_reload, at reload1.c:6000 rmansfield at qnx dot com
2011-05-03 12:58 ` [Bug target/48792] " ibolton at gcc dot gnu.org
2011-05-04  0:25 ` rmansfield at qnx dot com
2011-06-01 19:48 ` rsandifo at gcc dot gnu.org
2011-06-03 21:03 ` ramana at gcc dot gnu.org
2011-06-03 21:15 ` [Bug rtl-optimization/48792] " 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).