Commit 4033a1f2 by Aldy Hernandez Committed by Aldy Hernandez

tree.c (recompute_tree_invarant_for_addr_expr): The address of a thread-local…

tree.c (recompute_tree_invarant_for_addr_expr): The address of a thread-local variable is invariant.

	* tree.c (recompute_tree_invarant_for_addr_expr): The address of a
	thread-local variable is invariant.

From-SVN: r91174
parent 39123624
2004-11-24 Aldy Hernandez <aldyh@redhat.com>
* tree.c (recompute_tree_invarant_for_addr_expr): The address of a
thread-local variable is invariant.
2004-11-24 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* tree-pretty-print.c (dump_generic_node, case POINTER_TYPE):
......
......@@ -2421,7 +2421,9 @@ do { tree _node = (NODE); \
{
if (staticp (node))
;
else if (decl_function_context (node) == current_function_decl)
else if (decl_function_context (node) == current_function_decl
/* Addresses of thread-local variables are invariant. */
|| (TREE_CODE (node) == VAR_DECL && DECL_THREAD_LOCAL (node)))
tc = false;
else
ti = tc = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment