From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9139 invoked by alias); 7 Jan 2013 21:50:27 -0000 Received: (qmail 8923 invoked by uid 48); 7 Jan 2013 21:49:59 -0000 From: "greened at obbligato dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/55881] #pragma GCC diagnostic ignored ignored when inlining Date: Mon, 07 Jan 2013 21:50: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-Keywords: diagnostic X-Bugzilla-Severity: major X-Bugzilla-Who: greened at obbligato dot 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-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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 X-SW-Source: 2013-01/txt/msg00576.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55881 --- Comment #3 from David Greene 2013-01-07 21:49:58 UTC --- (In reply to comment #1) > What is the output of GCC? warning.cpp: In function 'int main(int, char**)': warning.cpp:5:19: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized] warning.cpp:13:16: note: 'n' was declared here