diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1993-10-08 06:55:59 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1993-10-08 06:55:59 -0400 |
commit | c3134623ce9320a58f9858bc0dc928c4a4ab74b7 (patch) | |
tree | e210b407523b75290d40f34742cc8f323d7de8f3 | |
parent | a44492f041c765b8459d52daf16b10c6069a1723 (diff) | |
download | gcc-c3134623ce9320a58f9858bc0dc928c4a4ab74b7.zip gcc-c3134623ce9320a58f9858bc0dc928c4a4ab74b7.tar.gz gcc-c3134623ce9320a58f9858bc0dc928c4a4ab74b7.tar.bz2 |
(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
-rw-r--r-- | gcc/dbxout.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c index 5c7f642..d6e6adb 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. |