From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4905 invoked by alias); 23 Mar 2014 11:30:23 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 4841 invoked by uid 55); 23 Mar 2014 11:30:18 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/60601] [4.9 Regression] profiledbootstrap fails with Ada Date: Sun, 23 Mar 2014 11:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: ice-checking X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-03/txt/msg02086.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60601 --- Comment #5 from Jakub Jelinek --- I guess it is not a big deal to do: save_growing_size = obstack_object_size (&obstack); + save_growing_value = NULL; if (save_growing_size > 0) save_growing_value = obstack_finish (&obstack); to workaround the bogus warning. Of course it would be nice to understand why uninit doesn't handle this, since it should be the pretty much easiest case of predicated uninit analysis. --- Comment #6 from Eric Botcazou --- Author: ebotcazou Date: Sun Mar 23 11:29:42 2014 New Revision: 208770 URL: http://gcc.gnu.org/viewcvs?rev=208770&root=gcc&view=rev Log: PR rtl-optimization/60601 * bb-reorder.c (fix_up_fall_thru_edges): Test EDGE_FALLTHRU everywhere. * gcc.c (eval_spec_function): Initialize save_growing_value. Modified: trunk/gcc/ChangeLog trunk/gcc/bb-reorder.c trunk/gcc/gcc.c