public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "terry.guo at arm dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/60298] [ARM/Thumb1] ICE caused by LRA for case pr54713-1.c Date: Fri, 21 Feb 2014 08:39:00 -0000 [thread overview] Message-ID: <bug-60298-4-iP19C6CPlU@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-60298-4@http.gcc.gnu.org/bugzilla/> 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.
next parent reply other threads:[~2014-02-21 8:39 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-60298-4@http.gcc.gnu.org/bugzilla/> 2014-02-21 8:39 ` terry.guo at arm dot com [this message] 2014-02-21 21:24 ` vmakarov at gcc dot gnu.org 2014-03-10 8:08 ` ramana at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-60298-4-iP19C6CPlU@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).