Bernd Schmidt <ber...@codesourcery.com> writes:
> On 07/05/11 21:25, Richard Sandiford wrote:
>> A C bootstrap only should be fine of course, since the code isn't
>> going to be run.)
>> 
>>> +  hwloop_info loops = NULL;
>> 
>> Unnecessary initialisation (or at least, it should be).
>
> ? The value is used inside the loop to initialize "next" of the first loop.

Sorry, I probably cut too much context.  I meant the initialisation here:

+  hwloop_info loops = NULL;
+  hwloop_info loop;
+  bitmap_obstack stack;
+
+  df_live_add_problem ();
+  df_live_set_all_dirty ();
+  df_analyze ();
+
+  bitmap_obstack_initialize (&stack);
+
+  if (dump_file)
+    fprintf (dump_file, ";; Find loops, first pass\n\n");
+
+  loops = discover_loops (&stack, hooks);

Richard

Reply via email to