]> gcc.gnu.org Git - gcc.git/commitdiff
(dbxout_parms): Don't output a parm if it's a mem that has a constant address.
authorRichard Stallman <rms@gnu.org>
Thu, 13 May 1993 22:29:26 +0000 (22:29 +0000)
committerRichard Stallman <rms@gnu.org>
Thu, 13 May 1993 22:29:26 +0000 (22:29 +0000)
From-SVN: r4440

gcc/dbxout.c

index dc1f8920b15a49ed6aa3b99ecd0f2d1d57d33a73..a2c78c4f0afd740013f610f4a7295215b5bef1f1 100644 (file)
@@ -2076,7 +2076,11 @@ dbxout_parms (parms)
            dbxout_finish_symbol (parms);
          }
        else if (GET_CODE (DECL_RTL (parms)) == MEM
-                && XEXP (DECL_RTL (parms), 0) != const0_rtx)
+                && XEXP (DECL_RTL (parms), 0) != const0_rtx
+                /* ??? A constant address for a parm can happen
+                   when the reg it lives in is equiv to a constant in memory.
+                   Should make this not happen, after 2.4.  */
+                && ! CONSTANT_P (XEXP (DECL_RTL (parms), 0)))
          {
            /* Parm was passed in registers but lives on the stack.  */
 
This page took 0.065698 seconds and 5 git commands to generate.