varasm.c broken by recent patch

Robert Lipe robertl@dgii.com
Fri Feb 13 23:13:00 GMT 1998


> This patch broke varasm.c for RS/6000:
> 
> 	* varasm.c (assemble_string): Remove unused variable 'i'. 
> 	(immed_double_const): Remove unused variable 'in_current_obstack'. 
> 	(immed_real_const_1): Likewise.
> 	(output_constant_pool): Remove unreferenced label 'done'.
> 	(output_constant): Remove unused variable 'x'.
> 
> The label "done" is used by the ASM_OUTPUT_SPECIAL_POOL_ENTRY macro and
> must be restored.

Sorry about that. 

Does this correct it?    If so, let's commit it.

diff -u -p -r1.12 varasm.c
--- varasm.c    1998/02/13 05:40:34     1.12
+++ varasm.c    1998/02/14 02:48:48
@@ -3534,7 +3534,9 @@ output_constant_pool (fnname, fndecl)
        default:
          abort ();
        }
-
+#ifdef ASM_OUTPUT_SPECIAL_POOL_ENTRY
+    done: ;
+#endif
     }

 #ifdef ASM_OUTPUT_POOL_EPILOGUE



-- 
Robert Lipe       http://www.dgii.com/people/robertl       robertl@dgii.com



More information about the Gcc mailing list