From c3134623ce9320a58f9858bc0dc928c4a4ab74b7 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Fri, 8 Oct 1993 06:55:59 -0400 Subject: [PATCH] (dbxout_parms): Don't confuse a parameter at an offset of zero from AP or FP with one that has variable size. From-SVN: r5674 --- gcc/dbxout.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gcc/dbxout.c b/gcc/dbxout.c index 5c7f642f615..d6e6adb63f4 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -1,5 +1,5 @@ /* Output dbx-format symbol table information from GNU compiler. - Copyright (C) 1987, 1988, 1992 Free Software Foundation, Inc. + Copyright (C) 1987, 1988, 1992, 1993 Free Software Foundation, Inc. This file is part of GNU CC. @@ -2135,9 +2135,9 @@ dbxout_parms (parms) dbxout_finish_symbol (parms); } else if (GET_CODE (DECL_RTL (parms)) == MEM - && GET_CODE (XEXP (DECL_RTL (parms), 0)) == REG) -/* && rtx_equal_p (XEXP (DECL_RTL (parms), 0), - DECL_INCOMING_RTL (parms))) */ + && GET_CODE (XEXP (DECL_RTL (parms), 0)) == REG + && (REGNO (XEXP (DECL_RTL (parms), 0)) + >= FIRST_PSEUDO_REGISTER)) { /* Parm was passed via invisible reference. That is, its address was passed in a register. -- 2.30.2