Patchwork [i386] : Remove superfluous clear in ix86_init_machine_status

login
register
mail settings
Submitter Uros Bizjak
Date Nov. 6, 2012, 7:09 p.m.
Message ID <CAFULd4Y+CN1gpsnvTPtWkf7d6P=v6WnOmyhiLUyWNtGdYz+pWQ@mail.gmail.com>
Download mbox | patch
Permalink /patch/197538/
State New
Headers show

Comments

Uros Bizjak - Nov. 6, 2012, 7:09 p.m.
Hello!

The allocator function does mention "cleared".

2012-11-06  Uros Bizjak  <ubizjak@gmail.com>

	* config/i386/i386.c (ix86_init_machine_status): Do not
	explicitly clear tls_descriptor_call_expanded_p again.

Tested on x86_64-pc-linux-gnu {,-m32}, committed to mainline SVN, will
be backported to 4.7.

Uros.

Patch

Index: i386.c
===================================================================
--- i386.c	(revision 193244)
+++ i386.c	(working copy)
@@ -23415,7 +23417,6 @@  ix86_init_machine_status (void)

   f = ggc_alloc_cleared_machine_function ();
   f->use_fast_prologue_epilogue_nregs = -1;
-  f->tls_descriptor_call_expanded_p = 0;
   f->call_abi = ix86_abi;
   f->optimize_mode_switching[AVX_U128] = TARGET_VZEROUPPER;