Patchwork fix bootstrap/PR44905 by reverting r155759

login
register
mail settings
Submitter Jack Howarth
Date July 18, 2010, 12:49 a.m.
Message ID <20100718004958.GA30600@bromo.med.uc.edu>
Download mbox | patch
Permalink /patch/59154/
State New
Headers show

Comments

Jack Howarth - July 18, 2010, 12:49 a.m.
Revision 155759

2010-01-09  Alexandre Oliva  <aoliva@redhat.com>

        * config/i386/i386.c (ix86_vectorize_builtin_vec_perm): Silence
        bogus uninitialized warning.

to allow for bootstrapping at -O1 is no longer needed since the
commit of...

Author: davidxl
Date: Wed Apr 28 17:41:31 2010
New Revision: 158835

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158835
Log:
predicate aware uninitialized analysis

Revision 155759 is causing failure in the --enable-build-with-cxx
bootstrap on x86_64-apple-darwin10, [Bug bootstrap/44905], and
should be reverted. Regression tested with and without
--enable-build-with-cxx on x86_64-apple-darwin10. Okay
for gcc trunk?
              Jack

2010-06-17  Jack Howarth <howarth@bromo.med.uc.edu>

	bootstrap/PR44905
	* config/i386/i386.c (ix86_vectorize_builtin_vec_perm):
	revert hack to silence bogus uninitialized warning.

Patch

Index: gcc/config/i386/i386.c
===================================================================
--- gcc/config/i386/i386.c	(revision 162277)
+++ gcc/config/i386/i386.c	(working copy)
@@ -30006,7 +30006,7 @@ 
   tree itype = TREE_TYPE (vec_type);
   bool u = TYPE_UNSIGNED (itype);
   enum machine_mode vmode = TYPE_MODE (vec_type);
-  enum ix86_builtins fcode = fcode; /* Silence bogus warning.  */
+  enum ix86_builtins fcode;
   bool ok = TARGET_SSE2;
 
   switch (vmode)