From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26368 invoked by alias); 13 Feb 2014 09:21:39 -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 26310 invoked by uid 48); 13 Feb 2014 09:21:36 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/60165] "may be used uninitialized" warning with -O3 but not with -O2 Date: Thu, 13 Feb 2014 09:21: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.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED 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: 2014-02/txt/msg01199.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D60165 --- Comment #4 from Richard Biener --- (In reply to Jakub Jelinek from comment #3) > (In reply to Vincent Lef=C3=A8vre from comment #2) > > Well, the code paths in question do not necessarily exist (you could sa= y the > > same thing with -O2, where the function is not inlined: there may be so= me > > code paths for which fn1() doesn't initialize c). >=20 > The code path exists in the code, the fact that perhaps in your program s= uch > code path is never taken doesn't mean it is undesirable to warn about it. > GCC has two kinds of warnings, the is uninitialized one where particular > code, if executed, will always use uninitialized value, and maybe > uninitialized, where it will use uninitialized value only conditionally.= =20 > That is the case here. Where it of course still only assumes that the function is entered at all. >>From gcc-bugs-return-443443-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 13 09:21:40 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26489 invoked by alias); 13 Feb 2014 09:21:40 -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 26330 invoked by uid 48); 13 Feb 2014 09:21:37 -0000 From: "joey.ye at arm dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libgcc/60166] ARM default NAN encoding violates EABI Date: Thu, 13 Feb 2014 09:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libgcc X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joey.ye at arm 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: 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-02/txt/msg01200.txt.bz2 Content-length: 233 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60166 --- Comment #2 from Joey Ye --- (In reply to Ramana Radhakrishnan from comment #1) > Isn't this a dup of PR59833. It isn't. This one is only impacts QNAN.