This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/54796] [4.8 Regression] Non-addressable stack parameter debug quality regression
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 03 Oct 2012 17:35:44 +0000
- Subject: [Bug debug/54796] [4.8 Regression] Non-addressable stack parameter debug quality regression
- Auto-submitted: auto-generated
- References: <bug-54796-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54796
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-10-03 17:35:44 UTC ---
Perhaps it would suffice to reserve another rtx flag bit on VALUE for
SP_BASED_VALUE_P, and just from var-tracking if hard_frame_pointer_adjustment
is != -1 (i.e. frame_pointer_needed and hfp = assignment has been seen) mark
that way sp values that are created afterwards, and change find_base_term in
alias.c
so that it returns static_reg_base_value[STACK_POINTER_REGNUM] when seeing
VALUEs marked that way.