On 09/07/2011 02:01 PM, Dodji Seketeli wrote:
+
  /* Process declarations and variables for C compiler.

Blank line at the top of the file?

     Copyright (C) 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
     2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
@@ -8328,7 +8329,8 @@ finish_function (void)
    if (!decl_function_context (fndecl))
      undef_nested_function = false;

-  cfun->language = NULL;
+  if (cfun->language != NULL)
+    ggc_free (cfun->language);

You'll still want to set it to NULL after freeing it.

OK with those changes.

Jason

Reply via email to