summaryrefslogtreecommitdiff
path: root/gcc/dbxout.c
diff options
context:
space:
mode:
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>2004-02-20 23:03:41 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2004-02-20 23:03:41 +0000
commit7a3e01c4081a6977a86fb44fe0aff6dece8dc44e (patch)
treee693ed8787dca895ea28148e27aa0074435fba6f /gcc/dbxout.c
parent0fed9ec7f33237c1fc8e633e6ede8a219672d761 (diff)
downloadgcc-7a3e01c4081a6977a86fb44fe0aff6dece8dc44e.tar.gz
re PR c++/12007 (Multiple inheritance float pass by value fails)
PR c++/12007 * dbxout.c (dbxout_parms): Check that DECL_RTL and DECL_INCOMING_RTL are set for parameters before outputing debugging information. * cp/method.c (use_thunk): Always clone function argument tree. From-SVN: r78192
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r--gcc/dbxout.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index 9ca79c6be83..482470abb8b 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -2750,7 +2750,10 @@ dbxout_parms (tree parms)
emit_pending_bincls_if_required ();
for (; parms; parms = TREE_CHAIN (parms))
- if (DECL_NAME (parms) && TREE_TYPE (parms) != error_mark_node)
+ if (DECL_NAME (parms)
+ && TREE_TYPE (parms) != error_mark_node
+ && DECL_RTL_SET_P (parms)
+ && DECL_INCOMING_RTL (parms))
{
dbxout_prepare_symbol (parms);