This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix part of pr25505
- From: Diego Novillo <dnovillo at redhat dot com>
- To: Josh Conner <jconner at apple dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 31 Aug 2006 19:03:10 -0400
- Subject: Re: [PATCH] Fix part of pr25505
- References: <44F6DBB3.2080809@apple.com> <44F769D1.1010205@redhat.com>
Diego Novillo wrote on 08/31/06 18:59:
> FOR_EACH_SSA_DEF_OPERAND (def_p, stmt, op_iter, SSA_OP_ALL_DEFS)
> {
> tree def = DEF_FROM_PTR (def_p);
> def = SSA_NAME_VAR (def);
> if (TREE_TYPE (def) == TREE_TYPE (call)
> && MTAG_P (def)
> && is_call_clobbered (def))
> goto unsafe;
> }
>
> Note that I'm not 100% sure if this type check is actually valid. But I
> think it is.
>
Never mind. Silly idea. The individual tags will *not* have the type
of the call. Sigh.