From patchwork Sun Jul 18 00:49:58 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: fix bootstrap/PR44905 by reverting r155759 From: Jack Howarth X-Patchwork-Id: 59154 Message-Id: <20100718004958.GA30600@bromo.med.uc.edu> To: gcc-patches@gcc.gnu.org Cc: aoliva@redhat.com Date: Sat, 17 Jul 2010 20:49:58 -0400 Revision 155759 2010-01-09 Alexandre Oliva * 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 bootstrap/PR44905 * config/i386/i386.c (ix86_vectorize_builtin_vec_perm): revert hack to silence bogus uninitialized warning. 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)