[PATCH]: Fix PR target/27863: ICE in check_cfg, at haifa-sched.c:4615
Vladimir Makarov
vmakarov@redhat.com
Wed Jun 7 17:20:00 GMT 2006
Maxim Kuvyrkov wrote:
> Hi!
>
> This small patch fixes PR target/27863:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27863
>
> The problem lies in the functions haifa-sched.c: unlink_line_note ()
> and unlink_other_notes (). They don't properly update basic block
> boundaries when removing the note which is BB_END. This patch fixes
> that.
>
>
>------------------------------------------------------------------------
>
>2006-06-07 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
>
> PR target/27863
> * haifa-sched.c (unlink_other_notes, unlink_line_notes): Update basic
> block boundaries.
>
>
>
>
>
The patch is ok. You can commit it into the mainline.
More information about the Gcc-patches
mailing list