http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58488 Manuel López-Ibáñez changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manu at gcc dot gnu.org Blocks| |24639 --- Comment #1 from Manuel López-Ibáñez --- So you want the warning even with -O0? I am not sure that, without optimization, the internal representation can detect this case. >From gcc-bugs-return-430368-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Sep 22 15:04:11 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 7664 invoked by alias); 22 Sep 2013 15:04:11 -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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 7639 invoked by uid 48); 22 Sep 2013 15:04:08 -0000 From: "manu at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/58488] -Wuninitialized is useless for a variable whose address is later taken Date: Sun, 22 Sep 2013 15:04: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.8.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: manu at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-09/txt/msg01608.txt.bz2 Content-length: 337 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58488 --- Comment #2 from Manuel López-Ibáñez --- Note that this has nothing to do with the fact that the uninitialized var is a pointer: void test(char); int main(void) { char oops; test(oops); char *other = &oops; return !other; } >From gcc-bugs-return-430369-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Sep 22 16:57:39 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 10715 invoked by alias); 22 Sep 2013 16:57:38 -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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 10676 invoked by uid 48); 22 Sep 2013 16:57:35 -0000 From: "borucki.andrzej at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/58499] New: Option -fleading-underscore not works Date: Sun, 22 Sep 2013 16:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.7.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: borucki.andrzej at gmail dot com X-Bugzilla-Status: UNCONFIRMED 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: 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: 2013-09/txt/msg01609.txt.bz2 Content-length: 697 http://gcc.gnu.org/bugzilla/show_bug.cgi?idX499 Bug ID: 58499 Summary: Option -fleading-underscore not works Product: gcc Version: 4.7.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: borucki.andrzej at gmail dot com Created attachment 30881 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id0881&actioníit Project of DLL I use gcc with code:block. when I compile DLL, exportet functions are without undersocre despite of -fleading-underscore option. Function in DLL is Java_net_sf_junace_UnACE_nativeACEList@20