From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13738 invoked by alias); 28 Oct 2014 09:04:43 -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 13700 invoked by uid 48); 28 Oct 2014 09:04:39 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/63660] -Wmaybe-uninitialized false positive with -O1 and more Date: Tue, 28 Oct 2014 09:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 4.8.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords bug_status cf_reconfirmed_on component short_desc everconfirmed cf_known_to_fail 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-10/txt/msg02131.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63660 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Status|UNCONFIRMED |NEW Last reconfirmed| |2014-10-28 Component|driver |tree-optimization Summary|[4.8-4.9+] |-Wmaybe-uninitialized false |-Wmaybe-uninitialized false |positive with -O1 and more |positive with -O1 and more | Ever confirmed|0 |1 Known to fail| |4.8.3, 4.9.2, 5.0 --- Comment #1 from Richard Biener --- I think you hit one of the limits to avoid excessive compile-time for the uninit analysis: #define MAX_NUM_CHAINS 8 #define MAX_CHAIN_LEN 5 #define MAX_POSTDOM_CHECK 8 I suppose it's the MAX_POSTDOM_CHECK value. Sadly those are not parameters controllable by any --param. There is --param uninit-control-dep-attempts though (but its default is 1000 which the testcase probably doesn't hit). Confirmed with 4.8, 4.9 and 5.