public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/42536] [4.4/4.5/4.6 regression] ICE in spill_failure, at reload1.c:2141
       [not found] <bug-42536-4@http.gcc.gnu.org/bugzilla/>
@ 2010-10-01 11:52 ` jakub at gcc dot gnu.org
  2010-11-29 20:15 ` jakub at gcc dot gnu.org
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 14+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-10-01 11:52 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.4.5                       |4.4.6


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

* [Bug target/42536] [4.4/4.5/4.6 regression] ICE in spill_failure, at reload1.c:2141
       [not found] <bug-42536-4@http.gcc.gnu.org/bugzilla/>
  2010-10-01 11:52 ` [Bug target/42536] [4.4/4.5/4.6 regression] ICE in spill_failure, at reload1.c:2141 jakub at gcc dot gnu.org
@ 2010-11-29 20:15 ` jakub at gcc dot gnu.org
  2010-11-29 20:40 ` law at redhat dot com
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 14+ messages in thread
From: jakub at gcc dot gnu.org @ 2010-11-29 20:15 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |law at gcc dot gnu.org,
                   |                            |vmakarov at gcc dot gnu.org
      Known to fail|                            |

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-11-29 19:50:18 UTC ---
Jeff/Vlad, how hard would it be to try to split the insn into two insns instead
of a spill failure (for insns using a MEM whose address uses more than one hard
register) - one which forces the address into register (assuming it is
supported) and the store (or load) which would use a simpler address form?


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

* [Bug target/42536] [4.4/4.5/4.6 regression] ICE in spill_failure, at reload1.c:2141
       [not found] <bug-42536-4@http.gcc.gnu.org/bugzilla/>
  2010-10-01 11:52 ` [Bug target/42536] [4.4/4.5/4.6 regression] ICE in spill_failure, at reload1.c:2141 jakub at gcc dot gnu.org
  2010-11-29 20:15 ` jakub at gcc dot gnu.org
@ 2010-11-29 20:40 ` law at redhat dot com
  2010-11-29 21:15 ` vmakarov at redhat dot com
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 14+ messages in thread
From: law at redhat dot com @ 2010-11-29 20:40 UTC (permalink / raw)
  To: gcc-bugs

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

Jeffrey A. Law <law at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |law at redhat dot com

--- Comment #5 from Jeffrey A. Law <law at redhat dot com> 2010-11-29 20:33:14 UTC ---
I guess it would be possible for reload to split an insn in some circumstances,
particularly when there's complex addressing modes and multiple registers dying
within the insn.

As you know, I've been poking at range splitting and we might be able to model
this case too.  Right now I split based on unallocated pseudos and expect to
split ranges based on pseudos getting the wrong kind of register in the future.

However, there's a couple areas were we still want to split ranges and we may
be able to come up with a generic way to express the other ranges we want to
split:


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

* [Bug target/42536] [4.4/4.5/4.6 regression] ICE in spill_failure, at reload1.c:2141
       [not found] <bug-42536-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2010-11-29 20:40 ` law at redhat dot com
@ 2010-11-29 21:15 ` vmakarov at redhat dot com
  2011-04-16 10:34 ` [Bug target/42536] [4.4/4.5/4.6/4.7 " jakub at gcc dot gnu.org
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 14+ messages in thread
From: vmakarov at redhat dot com @ 2010-11-29 21:15 UTC (permalink / raw)
  To: gcc-bugs

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

Vladimir Makarov <vmakarov at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vmakarov at redhat dot com

--- Comment #6 from Vladimir Makarov <vmakarov at redhat dot com> 2010-11-29 20:39:39 UTC ---
(In reply to comment #4)
> Jeff/Vlad, how hard would it be to try to split the insn into two insns instead
> of a spill failure (for insns using a MEM whose address uses more than one hard
> register) - one which forces the address into register (assuming it is
> supported) and the store (or load) which would use a simpler address form?

If it is done in reload (and imho this is the most right place to do), I think
it would be hard.  It needs some person with a good knowledge of the reload.

It is also possible to do some splitting in other parts of compiler but it
would an approximate solution (it means not all such cases will be avoided
or/and it will hurt performance in general case).


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

* [Bug target/42536] [4.4/4.5/4.6/4.7 regression] ICE in spill_failure, at reload1.c:2141
       [not found] <bug-42536-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2010-11-29 21:15 ` vmakarov at redhat dot com
@ 2011-04-16 10:34 ` jakub at gcc dot gnu.org
  2012-01-24  5:09 ` pinskia at gcc dot gnu.org
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 14+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-04-16 10:34 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.4.6                       |4.4.7


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

* [Bug target/42536] [4.4/4.5/4.6/4.7 regression] ICE in spill_failure, at reload1.c:2141
       [not found] <bug-42536-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2011-04-16 10:34 ` [Bug target/42536] [4.4/4.5/4.6/4.7 " jakub at gcc dot gnu.org
@ 2012-01-24  5:09 ` pinskia at gcc dot gnu.org
  2012-01-24  5:42 ` pinskia at gcc dot gnu.org
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-01-24  5:09 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-24 01:27:30 UTC ---
I cannot reproduce this bug on the trunk or 4.6.


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

* [Bug target/42536] [4.4/4.5/4.6/4.7 regression] ICE in spill_failure, at reload1.c:2141
       [not found] <bug-42536-4@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2012-01-24  5:09 ` pinskia at gcc dot gnu.org
@ 2012-01-24  5:42 ` pinskia at gcc dot gnu.org
  2012-03-13 14:32 ` [Bug target/42536] [4.5/4.6/4.7/4.8 " jakub at gcc dot gnu.org
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-01-24  5:42 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-24 01:30:36 UTC ---
(In reply to comment #7)
> I cannot reproduce this bug on the trunk or 4.6.

I want to say this is really a dup of bug 44174.


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

* [Bug target/42536] [4.5/4.6/4.7/4.8 regression] ICE in spill_failure, at reload1.c:2141
       [not found] <bug-42536-4@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2012-01-24  5:42 ` pinskia at gcc dot gnu.org
@ 2012-03-13 14:32 ` jakub at gcc dot gnu.org
  2012-07-02 11:10 ` rguenth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 14+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-03-13 14:32 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.4.7                       |4.5.4

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-13 12:47:03 UTC ---
4.4 branch is being closed, moving to 4.5.4 target.


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

* [Bug target/42536] [4.5/4.6/4.7/4.8 regression] ICE in spill_failure, at reload1.c:2141
       [not found] <bug-42536-4@http.gcc.gnu.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2012-03-13 14:32 ` [Bug target/42536] [4.5/4.6/4.7/4.8 " jakub at gcc dot gnu.org
@ 2012-07-02 11:10 ` rguenth at gcc dot gnu.org
  2012-09-02  9:23 ` [Bug target/42536] [4.6/4.7/4.8 " ubizjak at gmail dot com
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-07-02 11:10 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.5.4                       |4.6.4

--- Comment #10 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-07-02 11:09:19 UTC ---
The 4.5 branch is being closed, adjusting target milestone.


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

* [Bug target/42536] [4.6/4.7/4.8 regression] ICE in spill_failure, at reload1.c:2141
       [not found] <bug-42536-4@http.gcc.gnu.org/bugzilla/>
                   ` (8 preceding siblings ...)
  2012-07-02 11:10 ` rguenth at gcc dot gnu.org
@ 2012-09-02  9:23 ` ubizjak at gmail dot com
  2012-09-02  9:45 ` ubizjak at gmail dot com
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 14+ messages in thread
From: ubizjak at gmail dot com @ 2012-09-02  9:23 UTC (permalink / raw)
  To: gcc-bugs

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

Uros Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2010-03-20 13:03:43         |2012-09-02

--- Comment #11 from Uros Bizjak <ubizjak at gmail dot com> 2012-09-02 09:22:34 UTC ---
(In reply to comment #7)
> I cannot reproduce this bug on the trunk or 4.6.

Try with "-O2 -fno-gcse -fno-omit-frame-pointer -m32", it fails on 4.6+.

Reconfirmed.


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

* [Bug target/42536] [4.6/4.7/4.8 regression] ICE in spill_failure, at reload1.c:2141
       [not found] <bug-42536-4@http.gcc.gnu.org/bugzilla/>
                   ` (9 preceding siblings ...)
  2012-09-02  9:23 ` [Bug target/42536] [4.6/4.7/4.8 " ubizjak at gmail dot com
@ 2012-09-02  9:45 ` ubizjak at gmail dot com
  2012-11-11 21:35 ` [Bug target/42536] [4.6/4.7 " steven at gcc dot gnu.org
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 14+ messages in thread
From: ubizjak at gmail dot com @ 2012-09-02  9:45 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #12 from Uros Bizjak <ubizjak at gmail dot com> 2012-09-02 09:44:12 UTC ---
(In reply to comment #11)

> Reconfirmed.

BTW: Moving the complex address to the temporary (as proposed in Comment #4)
would help "atomic_compare_and_swap<dwi>_doubleword" on 32bit x86 targets, too.
This pattern uses cmpxchg8b_pic_memory_operand predicate to limit the number of
address registers for 32bit x86 targets, in order to avoid spill failures.
Please see i386/sync.md.


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

* [Bug target/42536] [4.6/4.7 regression] ICE in spill_failure, at reload1.c:2141
       [not found] <bug-42536-4@http.gcc.gnu.org/bugzilla/>
                   ` (10 preceding siblings ...)
  2012-09-02  9:45 ` ubizjak at gmail dot com
@ 2012-11-11 21:35 ` steven at gcc dot gnu.org
  2013-04-12 15:17 ` [Bug target/42536] [4.7 " jakub at gcc dot gnu.org
  2014-06-12 12:55 ` rguenth at gcc dot gnu.org
  13 siblings, 0 replies; 14+ messages in thread
From: steven at gcc dot gnu.org @ 2012-11-11 21:35 UTC (permalink / raw)
  To: gcc-bugs


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

Steven Bosscher <steven at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|55277                       |
            Summary|[4.6/4.7/4.8 regression]    |[4.6/4.7 regression] ICE in
                   |ICE in spill_failure, at    |spill_failure, at
                   |reload1.c:2141              |reload1.c:2141

--- Comment #13 from Steven Bosscher <steven at gcc dot gnu.org> 2012-11-11 21:34:36 UTC ---
bug 55277 tracks the similar ICE in LRA instead of reload.


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

* [Bug target/42536] [4.7 regression] ICE in spill_failure, at reload1.c:2141
       [not found] <bug-42536-4@http.gcc.gnu.org/bugzilla/>
                   ` (11 preceding siblings ...)
  2012-11-11 21:35 ` [Bug target/42536] [4.6/4.7 " steven at gcc dot gnu.org
@ 2013-04-12 15:17 ` jakub at gcc dot gnu.org
  2014-06-12 12:55 ` rguenth at gcc dot gnu.org
  13 siblings, 0 replies; 14+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-04-12 15:17 UTC (permalink / raw)
  To: gcc-bugs


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.6.4                       |4.7.4

--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-04-12 15:16:43 UTC ---
GCC 4.6.4 has been released and the branch has been closed.


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

* [Bug target/42536] [4.7 regression] ICE in spill_failure, at reload1.c:2141
       [not found] <bug-42536-4@http.gcc.gnu.org/bugzilla/>
                   ` (12 preceding siblings ...)
  2013-04-12 15:17 ` [Bug target/42536] [4.7 " jakub at gcc dot gnu.org
@ 2014-06-12 12:55 ` rguenth at gcc dot gnu.org
  13 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-06-12 12:55 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
      Known to work|                            |4.8.0
         Resolution|---                         |FIXED
   Target Milestone|4.7.4                       |4.8.0

--- Comment #15 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed in 4.8.0 by means of using LRA.


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

end of thread, other threads:[~2014-06-12 12:55 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-42536-4@http.gcc.gnu.org/bugzilla/>
2010-10-01 11:52 ` [Bug target/42536] [4.4/4.5/4.6 regression] ICE in spill_failure, at reload1.c:2141 jakub at gcc dot gnu.org
2010-11-29 20:15 ` jakub at gcc dot gnu.org
2010-11-29 20:40 ` law at redhat dot com
2010-11-29 21:15 ` vmakarov at redhat dot com
2011-04-16 10:34 ` [Bug target/42536] [4.4/4.5/4.6/4.7 " jakub at gcc dot gnu.org
2012-01-24  5:09 ` pinskia at gcc dot gnu.org
2012-01-24  5:42 ` pinskia at gcc dot gnu.org
2012-03-13 14:32 ` [Bug target/42536] [4.5/4.6/4.7/4.8 " jakub at gcc dot gnu.org
2012-07-02 11:10 ` rguenth at gcc dot gnu.org
2012-09-02  9:23 ` [Bug target/42536] [4.6/4.7/4.8 " ubizjak at gmail dot com
2012-09-02  9:45 ` ubizjak at gmail dot com
2012-11-11 21:35 ` [Bug target/42536] [4.6/4.7 " steven at gcc dot gnu.org
2013-04-12 15:17 ` [Bug target/42536] [4.7 " jakub at gcc dot gnu.org
2014-06-12 12:55 ` rguenth 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).