diff options
author | Jakub Jelinek <jakub@redhat.com> | 2012-10-16 13:21:20 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2012-10-16 13:21:20 +0200 |
commit | 0fe03ac31859b5cdc6760e605dc17ffbccfe1860 (patch) | |
tree | 9ba40d70d5d1df4a70c9881287bb8ea4ea5c49b6 /gcc/rtl.h | |
parent | cded4e9ed7d9f793d31303def53d999890a0f5a5 (diff) | |
download | gcc-0fe03ac31859b5cdc6760e605dc17ffbccfe1860.zip gcc-0fe03ac31859b5cdc6760e605dc17ffbccfe1860.tar.gz gcc-0fe03ac31859b5cdc6760e605dc17ffbccfe1860.tar.bz2 |
re PR debug/54796 (Non-addressable stack parameter debug quality regression)
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.
From-SVN: r192494
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r-- | gcc/rtl.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -267,7 +267,8 @@ struct GTY((chain_next ("RTX_NEXT (&%h)"), 1 in a CALL_INSN if it is a sibling call. 1 in a SET that is for a return. In a CODE_LABEL, part of the two-bit alternate entry field. - 1 in a CONCAT is VAL_EXPR_IS_COPIED in var-tracking.c. */ + 1 in a CONCAT is VAL_EXPR_IS_COPIED in var-tracking.c. + 1 in a VALUE is SP_BASED_VALUE_P in cselib.c. */ unsigned int jump : 1; /* In a CODE_LABEL, part of the two-bit alternate entry field. 1 in a MEM if it cannot trap. |