From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 89532 invoked by alias); 27 Feb 2015 20:33:01 -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 89463 invoked by uid 48); 27 Feb 2015 20:32:57 -0000 From: "ulfalizer at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/65244] Bogus -Wmaybe-uninitialized warning with posix_memalign() and -Og Date: Fri, 27 Feb 2015 21:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 4.9.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ulfalizer at gmail dot com X-Bugzilla-Status: WAITING 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: attachments.created 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: 2015-02/txt/msg03121.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65244 --- Comment #4 from Ulf Magnusson --- Created attachment 34894 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34894&action=edit -Wmaybe-uninitialized-warning with -Og with GCC 4.9.1 The testcase was in the comment. I'm attaching it. I don't have access to GCC 5.0. Perhaps the behavior changed between GCC 4.9.1 and that version.