On 08/03/2009 08:32 AM, Larry Evans wrote:
While trying to track down the cause of:http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40092 I encountered what may be an error. In pt.c around line 2493, there's this:if (TYPE_P (t) ) cp_walk_tree (&TYPE_CONTEXT (t), &find_parameter_packs_r, ppd, ppd->visited);However, gdb shows TYPE_CONTEXT(t) is the constant, 0, during compile of src.cpp:
That's not a problem; if the tree passed to walk_tree_1 is null, it just returns.
Jason