This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gc-improv] Convert ARM backend


> On Mon, Nov 09, 2009 at 10:19:37AM +0100, Laurynas Biveinis wrote:
>> - Âmachine = (machine_function *) ggc_alloc_cleared (sizeof
>> (machine_function));
>> + Âmachine = ggc_alloc_cleared_machine_function();
>
> I happened to notice... you've lost the space before the open
> parenthesis. ÂIf you're doing this across a lot of backends, I figured
> I'd point it out now before you tried to merge anything :-)

Thanks :) I am commiting this fix to gc-improv, tested by rebuilding arm.o.

2009-11-13  Laurynas Biveinis  <laurynas.biveinis@gmail.com>

        * config/arm/arm.c (arm_init_machine_status): Fix whitespace in
        the last commit.

Index: config/arm/arm.c
===================================================================
--- config/arm/arm.c    (revision 154027)
+++ config/arm/arm.c    (working copy)
@@ -18915,7 +18915,7 @@
 arm_init_machine_status (void)
 {
   struct machine_function *machine;
-  machine = ggc_alloc_cleared_machine_function();
+  machine = ggc_alloc_cleared_machine_function ();

 #if ARM_FT_UNKNOWN != 0
   machine->func_type = ARM_FT_UNKNOWN;



-- 
Laurynas


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]