On 4/2/20 7:40 PM, Patrick Palka wrote:
+  /* Prefer the outermost matching object, but don't cross
+     CONSTRUCTOR_PLACEHOLDER_BOUNDARY constructors.  */
+  if (ctx->ctor && !CONSTRUCTOR_PLACEHOLDER_BOUNDARY (ctx->ctor))
+    if (tree parent_ob = lookup_placeholder (ctx->parent, lval, type))
+      return parent_ob;

Instead of recursing here, would it work to replace the loop at the end with tail recursion?

Jason

Reply via email to