This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Trust TREE_ADDRESSABLE
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Richard Biener <richard dot guenther at gmail dot com>
- Cc: Richard Biener <rguenther at suse dot de>, gcc-patches at gcc dot gnu dot org, Jan Hubicka <hubicka at ucw dot cz>, Steven Bosscher <stevenb dot gcc at gmail dot com>
- Date: Wed, 11 Jun 2014 13:31:50 +0200
- Subject: Re: [PATCH] Trust TREE_ADDRESSABLE
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot LSU dot 2 dot 11 dot 1406041546210 dot 2632 at zhemvz dot fhfr dot qr> <3134842 dot VbM6jxaSXV at polaris> <alpine dot LSU dot 2 dot 11 dot 1406111217340 dot 2632 at zhemvz dot fhfr dot qr>
> Sure. Still currently TREE_ADDRESSABLE on TREE_PUBLIC/DECL_EXTERNAL
> VAR_DECLs carries no useful information, so I consider the bit unused.
I guess that's true for the middle-end in non-LTO mode at this point.
But then the new approach shouldn't be make correctness depend on its setting
in the front-ends, that's too error-prone IMO.
> I propose to add semantics for it.
Fine with me, as long as it's centralized somewhere in the middle-end.
--
Eric Botcazou