public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dtemirbulatov at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/57268] [4.9 Regression] c nested loops hang compiler in sched-deps.c
Date: Tue, 28 May 2013 11:50:00 -0000	[thread overview]
Message-ID: <bug-57268-4-ydrIOSXROO@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-57268-4@http.gcc.gnu.org/bugzilla/>

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

Dinar Temirbulatov <dtemirbulatov at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dtemirbulatov at gmail dot com

--- Comment #3 from Dinar Temirbulatov <dtemirbulatov at gmail dot com> ---
(In reply to Jakub Jelinek from comment #2)
> This is weird, I've tried to bisect it, r197678 still compiled it without
> hanging, r197681 ICEd somewhere in lra-constraints.c, but if I rebuild
> lra-constraints.o with -O0, it instead ICEs on frame reg uses during
> final_scan_insns (i.e. LRA hasn't replaced the frame pointer with hard frame
> pointer or stack pointer), r197696 still ICEs, r197700 hangs.
> BTW, doing -da before it hangs, I'm seeing right in *.split4 dump REG_EQUIV
> notes like:
> (insn 20109 70 20110 19 (set (reg/f:DI 38 r9 [19927])
>         (plus:DI (reg/f:DI 7 sp)
>             (const_int 16 [0x10]))) 254 {*leadi}
>      (expr_list:REG_EQUIV (plus:DI (reg/f:DI 20 frame)
>             (const_int -8 [0xfffffffffffffff8]))
>         (nil)))
> wonder if it isn't a bug that RA hasn't replaced the eliminable register in
> the note with sp (or hfp).

Problem was triggered by
Author: amker <amker@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Thu Apr 11 03:55:14 2013 +0000

         PR target/56124
         * ira-costs.c (scan_one_insn): Check whether the source rtx of
         loading has side effect.

And the problem in my view is in the scheduling 2 pass, it creates too long
read dependents list without flushing.


  parent reply	other threads:[~2013-05-28 11:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-13 22:12 [Bug tree-optimization/57268] New: c nested loops hang compiler dhazeghi at yahoo dot com
2013-05-14  9:54 ` [Bug rtl-optimization/57268] [4.9 Regression] c nested loops hang compiler in sched-deps.c rguenth at gcc dot gnu.org
2013-05-14 15:37 ` jakub at gcc dot gnu.org
2013-05-28 11:50 ` dtemirbulatov at gmail dot com [this message]
2013-05-29 12:50 ` dtemirbulatov at gmail dot com
2013-06-04 22:15 ` dinar 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-57268-4-ydrIOSXROO@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: link
Be 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).