[LTO][PATCH] Fix for ICE in cp/mangle.c:839

Diego Novillo dnovillo@google.com
Tue Sep 23 16:19:00 GMT 2008


On Tue, Sep 23, 2008 at 11:10, Simon Baldwin <simonb@google.com> wrote:

> @@ -2926,6 +2926,15 @@ mangle_ref_init_variable (const tree var
>   write_name (variable, /*ignore_local_scope=*/0);
>   return finish_mangling_get_identifier (/*warn=*/false);
>  }
> +
> +/* Return true if decl is templated, along with the associated template info
> +   node.  TEMPLATE_INFO may be null.  */
> +
> +int

s/int/bool/

The rest is OK, but you also need to add the testcase.


Diego.



More information about the Gcc-patches mailing list