public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rmansfield at qnx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/48826] ICE in dwarf2out_var_location, at dwarf2out.c:22013
Date: Thu, 05 May 2011 13:22:00 -0000	[thread overview]
Message-ID: <bug-48826-4-SulxsFD54U@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-48826-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #4 from Ryan Mansfield <rmansfield at qnx dot com> 2011-05-05 13:19:43 UTC ---
The issue with ARM/SH/S390 backends appears to be there was a literal pool
split happening in between a call insn and the NOTE_INSN_CALL_ARG_LOCATION. It
looks like on mips the issue, at least for my testcase, is the gp store in
mips_split_call is getting emitted in between the call insn and the note.

(call_insn 39 5 40 (parallel [
            (set (reg:SI 2 $2)
                (call (mem:SI (reg:SI 25 $25 [196]) [0 S4 A32])
                    (const_int 16 [0x10])))
            (clobber (reg:SI 31 $31))
            (clobber (reg:SI 28 $28))
        ]) /home/ryan/ice.i:2 575 {call_value_split}
     (nil)
    (expr_list:REG_DEP_TRUE (use (reg:SI 79 $fakec))
        (expr_list:REG_DEP_TRUE (use (reg:SI 28 $28))
            (nil))))

(insn 40 39 32 (set (reg:SI 28 $28)
        (mem/c:SI (plus:SI (reg/f:SI 29 $sp)
                (const_int 16 [0x10])) [0 S4 A32])) /home/ryan/ice.i:2 280
{*movsi_internal}
     (nil))

(note 32 40 7 (expr_list:REG_DEP_TRUE (concat:SI (reg:SI 79 $fakec)
        (reg:SI 79 $fakec))
    (expr_list:REG_DEP_TRUE (concat:SI (reg:SI 28 $28)
            (reg:SI 28 $28))
        (nil))) NOTE_INSN_CALL_ARG_LOCATION)


  parent reply	other threads:[~2011-05-05 13:22 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-29 16:30 [Bug debug/48826] New: " rmansfield at qnx dot com
2011-05-04 13:04 ` [Bug debug/48826] " rmansfield at qnx dot com
2011-05-04 14:26 ` rmansfield at qnx dot com
2011-05-04 14:44 ` jakub at gcc dot gnu.org
2011-05-05 13:22 ` rmansfield at qnx dot com [this message]
2011-05-22 21:41 ` [Bug rtl-optimization/48826] " rsandifo at gcc dot gnu.org
2011-05-23 18:37 ` rsandifo at gcc dot gnu.org
2011-05-23 18:44 ` rsandifo at gcc dot gnu.org
2011-05-23 18:57 ` rsandifo at gcc dot gnu.org
2011-05-26 14:32 ` rmansfield at qnx dot com
2014-09-11 21:44 ` pangbw at gmail dot com
2014-09-11 21:50 ` pangbw at gmail dot com

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-48826-4-SulxsFD54U@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).