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: more simplification of function deferral


Geoffrey Keating wrote:


On 17/06/2004, at 7:03 PM, Mark Mitchell wrote:


+    {
+      if (DECL_DEFERRED_FN (decl))
+    return;
+      DECL_DEFERRED_FN (decl) = 1;
+      DECL_DEFER_OUTPUT (decl) = 1;
+      if (!deferred_fns)
+    VARRAY_TREE_INIT (deferred_fns, 32, "deferred_fns");
+
+      VARRAY_PUSH_TREE (deferred_fns, decl);
+    }

There's no need for the braces there; please remove them.


The braces group the statements inside the 'if' (which is just above your quote). The if is important.

My mistake!


Thanks,

--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com


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