public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/60298] [ARM/Thumb1] ICE caused by LRA for case pr54713-1.c
       [not found] <bug-60298-4@http.gcc.gnu.org/bugzilla/>
@ 2014-02-21  8:39 ` terry.guo at arm dot com
  2014-02-21 21:24 ` vmakarov at gcc dot gnu.org
  2014-03-10  8:08 ` ramana at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: terry.guo at arm dot com @ 2014-02-21  8:39 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Terry Guo <terry.guo at arm dot com> ---
I did a little investigation and think the issue may be related to following
code from function remove_some_program_points_and_update_live_ranges:

782      max_regno = max_reg_num ();
783      for (i = FIRST_PSEUDO_REGISTER; i < (unsigned) max_regno; i++)
784        {
785          for (r = lra_reg_info[i].live_ranges; r != NULL; r = r->next)
786        {
787          lra_assert (r->start <= r->finish);
788          bitmap_set_bit (born, r->start);
789          bitmap_set_bit (dead, r->finish);
790        }
791        }

The max_regno is 575, while the length of array lra_reg_info is just 568. When
the loop index i is 568, the issue is triggered.


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

* [Bug target/60298] [ARM/Thumb1] ICE caused by LRA for case pr54713-1.c
       [not found] <bug-60298-4@http.gcc.gnu.org/bugzilla/>
  2014-02-21  8:39 ` [Bug target/60298] [ARM/Thumb1] ICE caused by LRA for case pr54713-1.c terry.guo at arm dot com
@ 2014-02-21 21:24 ` vmakarov at gcc dot gnu.org
  2014-03-10  8:08 ` ramana at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: vmakarov at gcc dot gnu.org @ 2014-02-21 21:24 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
Author: vmakarov
Date: Fri Feb 21 21:23:48 2014
New Revision: 208023

URL: http://gcc.gnu.org/viewcvs?rev=208023&root=gcc&view=rev
Log:
2014-02-21  Vladimir Makarov  <vmakarov@redhat.com>

    PR target/60298
    * lra-constraints.c (inherit_reload_reg): Use lra_emit_move
    instead of emit_move_insn.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/lra-constraints.c


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

* [Bug target/60298] [ARM/Thumb1] ICE caused by LRA for case pr54713-1.c
       [not found] <bug-60298-4@http.gcc.gnu.org/bugzilla/>
  2014-02-21  8:39 ` [Bug target/60298] [ARM/Thumb1] ICE caused by LRA for case pr54713-1.c terry.guo at arm dot com
  2014-02-21 21:24 ` vmakarov at gcc dot gnu.org
@ 2014-03-10  8:08 ` ramana at gcc dot gnu.org
  2 siblings, 0 replies; 3+ messages in thread
From: ramana at gcc dot gnu.org @ 2014-03-10  8:08 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |ramana at gcc dot gnu.org
         Resolution|---                         |FIXED
   Target Milestone|---                         |4.9.0

--- Comment #3 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> ---
Fixed as per Vlad's last comment.


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

end of thread, other threads:[~2014-03-10  8:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-60298-4@http.gcc.gnu.org/bugzilla/>
2014-02-21  8:39 ` [Bug target/60298] [ARM/Thumb1] ICE caused by LRA for case pr54713-1.c terry.guo at arm dot com
2014-02-21 21:24 ` vmakarov at gcc dot gnu.org
2014-03-10  8:08 ` 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).