Commit c245c134 by Daniel Berlin Committed by Daniel Berlin

tree-ssa-alias.c (create_sft): Initially inherit TREE_ADDRESSABLE from parent_var.

2006-03-28  Daniel Berlin  <dberlin@dberlin.org>

	* tree-ssa-alias.c (create_sft): Initially inherit TREE_ADDRESSABLE
	from parent_var.

From-SVN: r112451
parent df108331
2006-03-28 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa-alias.c (create_sft): Initially inherit TREE_ADDRESSABLE
from parent_var.
2006-03-27 Roger Sayle <roger@eyesopen.com> 2006-03-27 Roger Sayle <roger@eyesopen.com>
PR middle-end/22524 PR middle-end/22524
......
extern void abort (void);
struct delay_block {
struct delay_block *succ;
};
static struct delay_block Timer_Queue;
struct delay_block* time_enqueue (struct delay_block *d)
{
struct delay_block *q = Timer_Queue.succ;
d->succ = (void *)0;
return Timer_Queue.succ;
}
int main(void)
{
Timer_Queue.succ = &Timer_Queue;
if (time_enqueue (&Timer_Queue) != (void*)0)
abort ();
return 0;
}
...@@ -2853,6 +2853,7 @@ create_sft (tree var, tree field, unsigned HOST_WIDE_INT offset, ...@@ -2853,6 +2853,7 @@ create_sft (tree var, tree field, unsigned HOST_WIDE_INT offset,
TREE_PUBLIC (subvar) = TREE_PUBLIC (var); TREE_PUBLIC (subvar) = TREE_PUBLIC (var);
TREE_STATIC (subvar) = TREE_STATIC (var); TREE_STATIC (subvar) = TREE_STATIC (var);
TREE_READONLY (subvar) = TREE_READONLY (var); TREE_READONLY (subvar) = TREE_READONLY (var);
TREE_ADDRESSABLE (subvar) = TREE_ADDRESSABLE (var);
/* Add the new variable to REFERENCED_VARS. */ /* Add the new variable to REFERENCED_VARS. */
ann = get_var_ann (subvar); ann = get_var_ann (subvar);
......
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