re PR middle-end/50638 (emulated TLS fails)
PR middle-end/50638 * tree-emutls.c (gen_emutls_addr): Call add_referenced_var. From-SVN: r179745
This commit is contained in:
parent
752cdc4e29
commit
88fe4be8e1
@ -1,3 +1,8 @@
|
||||
2011-10-10 Michael Matz <matz@suse.de>
|
||||
|
||||
PR middle-end/50638
|
||||
* tree-emutls.c (gen_emutls_addr): Call add_referenced_var.
|
||||
|
||||
2011-10-10 Richard Sandiford <richard.sandiford@linaro.org>
|
||||
|
||||
* modulo-sched.c (ps_reg_move_info): Add num_consecutive_stages.
|
||||
|
@ -434,6 +434,7 @@ gen_emutls_addr (tree decl, struct lower_emutls_data *d)
|
||||
addr = create_tmp_var (build_pointer_type (TREE_TYPE (decl)), NULL);
|
||||
x = gimple_build_call (d->builtin_decl, 1, build_fold_addr_expr (cdecl));
|
||||
gimple_set_location (x, d->loc);
|
||||
add_referenced_var (cdecl);
|
||||
|
||||
addr = make_ssa_name (addr, x);
|
||||
gimple_call_set_lhs (x, addr);
|
||||
|
Loading…
Reference in New Issue
Block a user