(ASM_DECLARE_FUNCTION_NAME): Call a29k_compute_reg_names.
authorJim Wilson <wilson@gcc.gnu.org>
Wed, 23 Oct 1996 22:52:39 +0000 (15:52 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Wed, 23 Oct 1996 22:52:39 +0000 (15:52 -0700)
From-SVN: r13018

gcc/config/a29k/a29k.h

index f64c98db4443c6b93a54e6f09ec7167e44f44f55..4f5792891a0a39d9dc03ee355b7d1460ca481daf 100644 (file)
@@ -928,12 +928,15 @@ extern int a29k_compare_fp_p;
 
    For the 29k, we need the prolog to contain one or two words prior to
    the declaration of the function name.  So just store away the name and
-   write it as part of the prolog.  */
+   write it as part of the prolog.  This also computes the register names,
+   which can't be done until after register allocation, but must be done
+   before final_start_function is called.  */
 
 extern char *a29k_function_name;
 
 #define ASM_DECLARE_FUNCTION_NAME(FILE,NAME,DECL)      \
-  a29k_function_name = NAME;
+  a29k_function_name = NAME; \
+  a29k_compute_reg_names ();
 
 /* This macro generates the assembly code for function entry.
    FILE is a stdio stream to output the code to.