aboutsummaryrefslogtreecommitdiff
path: root/gcc/gengtype.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2011-03-16 08:35:31 +0000
committerJakub Jelinek <jakub@redhat.com>2011-03-16 08:35:31 +0000
commit985a39cc1d556d092c8995c3fd775e33fa8b62cf (patch)
treee1c308ef8c1fe2a484b5a77d166cb4b3682c3f18 /gcc/gengtype.c
parent659f7e98e4f806f08e2545ff626a4caf6802cb90 (diff)
PR debug/45882
* rtl.def (ENTRY_VALUE): Change format from "e" to "0". * rtl.h (ENTRY_VALUE_EXP): Define. * rtl.c (rtx_equal_p_cb, rtx_equal_p): Handle ENTRY_VALUE. * cselib.c (rtx_equal_for_cselib_p, cselib_hash_rtx): Likewise. * print-rtl.c (print_rtx): Likewise. * gengtype.c (adjust_field_rtx_def): Likewise. * var-tracking.c (vt_add_function_parameter): Adjust gen_rtx_ENTRY_VALUE uses, use ENTRY_VALUE_EXP macro. * dwarf2out.c (mem_loc_descriptor): Use ENTRY_VALUE_EXP macro. * cfgexpand.c (expand_debug_expr): If a SSA_NAME without partition is a default definition of a PARM_DECL, use ENTRY_VALUE of its DECL_INCOMING_RTL if possible, or its DECL_RTL if set. * gcc.dg/guality/pr45882.c: New test. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@171035 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gengtype.c')
-rw-r--r--gcc/gengtype.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/gengtype.c b/gcc/gengtype.c
index 94cc4492117..bd626ed93a6 100644
--- a/gcc/gengtype.c
+++ b/gcc/gengtype.c
@@ -1101,6 +1101,8 @@ adjust_field_rtx_def (type_p t, options_p ARG_UNUSED (opt))
t = symbol_union_tp, subname = "";
else if (i == BARRIER && aindex >= 3)
t = scalar_tp, subname = "rt_int";
+ else if (i == ENTRY_VALUE && aindex == 0)
+ t = rtx_tp, subname = "rt_rtx";
else
{
error_at_line