public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/54796] [4.8 Regression] Non-addressable stack parameter debug quality regression
Date: Tue, 16 Oct 2012 11:21:00 -0000	[thread overview]
Message-ID: <bug-54796-4-uuKWwxl9mo@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-54796-4@http.gcc.gnu.org/bugzilla/>


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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-10-16 11:21:28 UTC ---
Author: jakub
Date: Tue Oct 16 11:21:20 2012
New Revision: 192494

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192494
Log:
    PR debug/54796
    * rtl.h: Document jump flag on VALUE.
    * cselib.h (cselib_set_value_sp_based,
    cselib_sp_based_value_p): New prototypes.
    * alias.c (find_base_term): For cselib_sp_based_value_p
    return static_reg_base_value[STACK_POINTER_REGNUM].
    * cselib.c (SP_BASED_VALUE_P): Define.
    (cselib_set_value_sp_based, cselib_sp_based_value_p): New functions.
    * var-tracking.c (add_stores): Call cselib_set_value_sp_based
    for not yet preserved VALUEs of sp on sp assignments if
    hard_frame_pointer_adjustment != -1.
    (vt_initialize): When setting hard_frame_pointer_adjustment,
    disassociate sp from its previous value and call
    cselib_set_value_sp_based on a new VALUE created for sp.

    * gcc.dg/guality/pr54796.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/guality/pr54796.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/alias.c
    trunk/gcc/cselib.c
    trunk/gcc/cselib.h
    trunk/gcc/rtl.h
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/var-tracking.c


  parent reply	other threads:[~2012-10-16 11:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-03 15:30 [Bug debug/54796] New: " jakub at gcc dot gnu.org
2012-10-03 16:40 ` [Bug debug/54796] " jakub at gcc dot gnu.org
2012-10-03 17:36 ` jakub at gcc dot gnu.org
2012-10-04 14:09 ` jakub at gcc dot gnu.org
2012-10-08 14:38 ` aoliva at gcc dot gnu.org
2012-10-16 11:21 ` jakub at gcc dot gnu.org [this message]
2012-10-23 15:14 ` jakub 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-54796-4-uuKWwxl9mo@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).