re PR bootstrap/53522 (Bootstrap is broken for x86_64-apple-darwin10 at r187977)

2012-05-30  Richard Guenther  <rguenther@suse.de>

	PR middle-end/53522
	* tree-emutls.c (gen_emutls_addr): Do not add globals to
	referenced-vars.

From-SVN: r188005
This commit is contained in:
Richard Guenther 2012-05-30 09:14:27 +00:00 committed by Richard Biener
parent d6a6a07a68
commit ab068278e9
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2012-05-30 Richard Guenther <rguenther@suse.de>
PR middle-end/53522
* tree-emutls.c (gen_emutls_addr): Do not add globals to
referenced-vars.
2012-05-30 Eric Botcazou <ebotcazou@adacore.com>
* explow.c (probe_stack_range): Restore simple control flow and stop

View File

@ -434,7 +434,6 @@ 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);