This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [LTO][PATCH] Fix for ICE in cp/mangle.c:839
- From: "Diego Novillo" <dnovillo at google dot com>
- To: "Simon Baldwin" <simonb at google dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 23 Sep 2008 11:36:25 -0400
- Subject: Re: [LTO][PATCH] Fix for ICE in cp/mangle.c:839
- References: <20080923151045.A30273FE7CE@localhost>
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.