From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8795 invoked by alias); 19 Aug 2004 09:03:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 8713 invoked by uid 48); 19 Aug 2004 09:03:35 -0000 Date: Thu, 19 Aug 2004 09:03:00 -0000 Message-ID: <20040819090335.8712.qmail@sourceware.org> From: "v dot haisman at sh dot cvut dot cz" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040803203120.16865.v.haisman@sh.cvut.cz> References: <20040803203120.16865.v.haisman@sh.cvut.cz> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug bootstrap/16865] False alarm about use of uninitialized variable breaks bootstrap at -O3 X-Bugzilla-Reason: CC X-SW-Source: 2004-08/txt/msg01907.txt.bz2 List-Id: ------- Additional Comments From v dot haisman at sh dot cvut dot cz 2004-08-19 09:03 ------- Bootstrap of yesterday's CVS sources showed some more of these. Worked around with patch bellow: Index: gcc/tree-vectorizer.c =================================================================== RCS file: /cvs/gcc/gcc/gcc/tree-vectorizer.c,v retrieving revision 2.2 diff -c -p -r2.2 tree-vectorizer.c *** gcc/tree-vectorizer.c 19 Aug 2004 07:16:55 -0000 2.2 --- gcc/tree-vectorizer.c 19 Aug 2004 08:44:21 -0000 *************** vect_create_index_for_array_ref (tree st *** 591,597 **** loop_vec_info loop_info = loop->aux; int vectorization_factor = LOOP_VINFO_VECT_FACTOR (loop_info); tree vf; ! tree array_first_index; tree indx_before_incr, indx_after_incr; int loopnum = loop->num; bool ok; --- 591,597 ---- loop_vec_info loop_info = loop->aux; int vectorization_factor = LOOP_VINFO_VECT_FACTOR (loop_info); tree vf; ! tree array_first_index = NULL_TREE; tree indx_before_incr, indx_after_incr; int loopnum = loop->num; bool ok; *************** vect_compute_data_ref_alignment (struct *** 2248,2254 **** tree init; tree scalar_type; tree misalign; ! tree array_first_index; tree array_base = DR_BASE_NAME (dr); tree base_decl = NULL_TREE; tree bit_offset = size_zero_node; --- 2248,2254 ---- tree init; tree scalar_type; tree misalign; ! tree array_first_index = NULL_TREE; tree array_base = DR_BASE_NAME (dr); tree base_decl = NULL_TREE; tree bit_offset = size_zero_node; -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16865