This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: generate TLS address arithmetic for back-end


On Tue, Nov 23, 2004 at 03:11:39PM -0400, Aldy Hernandez wrote:
> 	* expr.c (expand_expr): case PLUS_EXPR: Treat TLS address
> 	arithmetic as a constant.
> 	(tree_tls_address_p): New.

A better place to attack this is to arrange for the address of
such variables to be TREE_INVARIANT (if they're not already),
and to change the test there from TREE_CONSTANT.



r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]