http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53522

--- Comment #2 from rguenther at suse dot de <rguenther at suse dot de> 
2012-05-30 09:11:53 UTC ---
On Tue, 29 May 2012, dominiq at lps dot ens.fr wrote:

> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53522
> 
> Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>             Summary|[4.8 Summary] Bootstrap is  |[4.8 Regression] Bootstrap
>                    |broken for                  |is broken for
>                    |x86_64-apple-darwin10 at    |x86_64-apple-darwin10 at
>                    |r187977                     |r187977
> 
> --- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> 
> 2012-05-29 22:34:58 UTC ---
> It was too late;-(

I'll install

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);

as obvious

Reply via email to