* [PATCH] Fix PR53522
@ 2012-05-30 9:13 Richard Guenther
0 siblings, 0 replies; only message in thread
From: Richard Guenther @ 2012-05-30 9:13 UTC (permalink / raw)
To: gcc-patches
Committed as obvious.
Richard.
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.
Index: gcc/tree-emutls.c
===================================================================
--- gcc/tree-emutls.c (revision 187965)
+++ gcc/tree-emutls.c (working copy)
@@ -434,7 +434,6 @@ gen_emutls_addr (tree decl, struct lower
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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-05-30 9:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-30 9:13 [PATCH] Fix PR53522 Richard Guenther
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).