public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/65182] New: -Wuninitialized fails when pointer to variable later passed to function
@ 2015-02-23 20:37 tisaac at ices dot utexas.edu
2015-02-23 23:04 ` [Bug middle-end/65182] " manu at gcc dot gnu.org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: tisaac at ices dot utexas.edu @ 2015-02-23 20:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65182
Bug ID: 65182
Summary: -Wuninitialized fails when pointer to variable later
passed to function
Product: gcc
Version: 4.9.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: tisaac at ices dot utexas.edu
Created attachment 34848
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34848&action=edit
Test program that demonstrates -Wuninitialized failure
If a pointer to a variable is passed *after* it is used uninitialized, then
-Wuninitialized fails to report.
Test code:
>cat test.c
#include <stdio.h>
#include <stdlib.h>
void
bar(int *a)
{
*a = 2;
}
int
baz (void)
{
return 3;
}
void
foo(int *b)
{
int a;
if (a) {
*b = 0;
return;
}
#if defined(USE_AS_POINTER)
bar(&a);
#endif
a = baz();
*b = a + 2;
}
int
main (int argc, char **argv)
{
int c;
c = atoi(argv[1]);
foo(&c);
return c;
}
>gcc-4.9 -O0 -Wuninitialized -c -o test.o test.c
test.c: In function ‘foo’:
test.c:21:6: warning: ‘a’ is used uninitialized in this function
[-Wuninitialized]
if (a) {
^
>gcc-4.9 -DUSE_AS_POINTER -O0 -Wuninitialized -c -o test.o test.c
[no output]
>uname --all
Linux alembic 3.2.0-76-generic #111-Ubuntu SMP Tue Jan 13 22:16:09 UTC 2015
x86_64 x86_64 x86_64 GNU/Linux
>gcc-4.9 --version
gcc-4.9 (Ubuntu 4.9.2-0ubuntu1~12.04) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>From gcc-bugs-return-478215-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 23 19:23:28 2015
Return-Path: <gcc-bugs-return-478215-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16997 invoked by alias); 23 Feb 2015 19:23:28 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 16950 invoked by uid 48); 23 Feb 2015 19:23:24 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/64158] [5 Regression] FAIL: gcc.dg/pr44194-1.c scan-rtl-dump dse1 "global deletions = (2|3)"
Date: Mon, 23 Feb 2015 20:41:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: testsuite
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: msebor 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: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-64158-4-rQiuM0fy4e@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64158-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64158-4@http.gcc.gnu.org/bugzilla/>
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/msg02547.txt.bz2
Content-length: 1677
https://gcc.gnu.org/bugzilla/show_bug.cgi?idd158
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |msebor at gcc dot gnu.org
--- Comment #6 from Martin Sebor <msebor at gcc dot gnu.org> ---
FWIW, I looked into this failure a bit over the weekend and found the
expression hard enough to read that I broke it up like so:
Index: gcc.dg/pr44194-1.c
==================================================================--- gcc.dg/pr44194-1.c (revision 220914)
+++ gcc.dg/pr44194-1.c (working copy)
@@ -1,8 +1,13 @@
-/* { dg-do compile { target { { { { { { { { { { i?86-*-* x86_64-*-* } && x32 }
|| lp64 } && { ! s390*-*-* } } && { ! hppa*64*-*-* } } && { ! alpha*-*-* } } &&
{ { ! powerpc*-*-linux* } || powerpc_elfv2 } } && { ! nvptx-*-* } } } } } } */
+/* { dg-do compile { target { lp64 || x32 } } } */
+/* { dg-skip-if "" { alpha*-*-*-* } { "*" } { "" } } */
+/* { dg-skip-if "" { hppa*64*-*-*-* } { "*" } { "" } } */
+/* { dg-skip-if "" { powerpc*-*-linux* && { ! powerpc_elfv2 } } { "*" } { "" }
} */
+/* { dg-skip-if "" { s390*-*-* } { "*" } { "" } } */
+/* { dg-skip-if "" { nvptx-*-* } { "*" } { "" } } */
/* { dg-options "-O2 -fdump-rtl-dse1 -fdump-rtl-final" } */
-/* Restrict to 64-bit targets since 32-bit targets usually return small
- structures in memory. */
+/* Restrict to a subset of 64-bit targets since 32-bit targets usually
+ return small structures in memory (Intel x32 being an exception). */
struct ints { int a, b, c; } foo();
void bar(int a, int b);
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/65182] -Wuninitialized fails when pointer to variable later passed to function
2015-02-23 20:37 [Bug c/65182] New: -Wuninitialized fails when pointer to variable later passed to function tisaac at ices dot utexas.edu
@ 2015-02-23 23:04 ` manu at gcc dot gnu.org
2015-02-24 3:42 ` manu at gcc dot gnu.org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: manu at gcc dot gnu.org @ 2015-02-23 23:04 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 5575 bytes --]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65182
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |manu at gcc dot gnu.org
Resolution|--- |DUPLICATE
--- Comment #1 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
Unfortunately, this is a very old bug that no one has figured out how to fix.
Some thinking out of the box is probably needed since we GCC devs have failed
to find a solution for the last 10 years. You are welcome to try if you are up
for a challenge.
*** This bug has been marked as a duplicate of bug 19430 ***
>From gcc-bugs-return-478234-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 23 22:46:48 2015
Return-Path: <gcc-bugs-return-478234-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 124349 invoked by alias); 23 Feb 2015 22:46:48 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 123718 invoked by uid 48); 23 Feb 2015 22:46:40 -0000
From: "manu at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/19430] taking address of a var causes missing uninitialized warning
Date: Mon, 23 Feb 2015 23:25:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 3.4.2
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: manu 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: cc
Message-ID: <bug-19430-4-cE2LGpfpVv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-19430-4@http.gcc.gnu.org/bugzilla/>
References: <bug-19430-4@http.gcc.gnu.org/bugzilla/>
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: 2015-02/txt/msg02566.txt.bz2
Content-length: 489
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19430
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tisaac at ices dot utexas.edu
--- Comment #28 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
*** Bug 65182 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-478235-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 23 22:58:41 2015
Return-Path: <gcc-bugs-return-478235-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 42025 invoked by alias); 23 Feb 2015 22:58:40 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 42000 invoked by uid 48); 23 Feb 2015 22:58:37 -0000
From: "mmminor at sbcglobal dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/65185] New: avr-gcc mcus.def missing rfr2 devices
Date: Tue, 24 Feb 2015 00:00:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 4.9.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mmminor at sbcglobal dot net
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: <bug-65185-4@http.gcc.gnu.org/bugzilla/>
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/msg02567.txt.bz2
Content-length: 682
https://gcc.gnu.org/bugzilla/show_bug.cgi?ide185
Bug ID: 65185
Summary: avr-gcc mcus.def missing rfr2 devices
Product: gcc
Version: 4.9.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: mmminor at sbcglobal dot net
Created attachment 34851
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id4851&actioníit
Add missing avr devices.
Patches for atmega256rfr2
(https://gcc.gnu.org/ml/gcc-patches/2013-03/msg00788.html) were never
committed. Need patches to gcc/config/avr/avr-mcus.def as attached.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/65182] -Wuninitialized fails when pointer to variable later passed to function
2015-02-23 20:37 [Bug c/65182] New: -Wuninitialized fails when pointer to variable later passed to function tisaac at ices dot utexas.edu
2015-02-23 23:04 ` [Bug middle-end/65182] " manu at gcc dot gnu.org
@ 2015-02-24 3:42 ` manu at gcc dot gnu.org
2015-02-24 5:10 ` amodra at gcc dot gnu.org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: manu at gcc dot gnu.org @ 2015-02-24 3:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65182
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|DUPLICATE |---
--- Comment #2 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
Ops, I got confused by the testcase and this is not actually a duplicate.
void bar(int *a);
int baz (void);
void
foo(int *b)
{
int a;
if (a) {
*b = 0;
return;
}
bar(&a);
a = baz();
*b = a + 2;
}
In gcc 4.9.2 you need at least -O1 to get a warning, however, it seems that in
GCC 5.0 r220306, -O0 is enough. Thus, I would consider this fixed.
>From gcc-bugs-return-478240-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 23 23:25:35 2015
Return-Path: <gcc-bugs-return-478240-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12737 invoked by alias); 23 Feb 2015 23:25:35 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 12655 invoked by uid 55); 23 Feb 2015 23:25:31 -0000
From: "kkojima at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/65153] [SH][4.9 Regression] "insn does not satisfy its constraints" when compiling libmcrypt
Date: Tue, 24 Feb 2015 04:07:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 4.9.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kkojima at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.9.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-65153-4-0aoJJVinb6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65153-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65153-4@http.gcc.gnu.org/bugzilla/>
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/msg02572.txt.bz2
Content-length: 471
https://gcc.gnu.org/bugzilla/show_bug.cgi?ide153
--- Comment #13 from Kazumoto Kojima <kkojima at gcc dot gnu.org> ---
Author: kkojima
Date: Mon Feb 23 23:24:59 2015
New Revision: 220922
URL: https://gcc.gnu.org/viewcvs?rev"0922&root=gcc&view=rev
Log:
PR target/65153
[SH] Fix PR target/65153 with removing movsicc_true+3 peephole2.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/sh/sh-protos.h
trunk/gcc/config/sh/sh.c
trunk/gcc/config/sh/sh.md
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/65182] -Wuninitialized fails when pointer to variable later passed to function
2015-02-23 20:37 [Bug c/65182] New: -Wuninitialized fails when pointer to variable later passed to function tisaac at ices dot utexas.edu
2015-02-23 23:04 ` [Bug middle-end/65182] " manu at gcc dot gnu.org
2015-02-24 3:42 ` manu at gcc dot gnu.org
@ 2015-02-24 5:10 ` amodra at gcc dot gnu.org
2015-02-24 6:37 ` amodra at gmail dot com
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: amodra at gcc dot gnu.org @ 2015-02-24 5:10 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65182
--- Comment #3 from Alan Modra <amodra at gcc dot gnu.org> ---
Author: amodra
Date: Tue Feb 24 00:00:59 2015
New Revision: 220924
URL: https://gcc.gnu.org/viewcvs?rev=220924&root=gcc&view=rev
Log:
PR target/65182
* config/rs6000/rs6000.c (get_memref_parts): Only return true
when *base is a reg. Handle nested plus addresses. Simplify
pre_modify test.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/rs6000/rs6000.c
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/65182] -Wuninitialized fails when pointer to variable later passed to function
2015-02-23 20:37 [Bug c/65182] New: -Wuninitialized fails when pointer to variable later passed to function tisaac at ices dot utexas.edu
` (2 preceding siblings ...)
2015-02-24 5:10 ` amodra at gcc dot gnu.org
@ 2015-02-24 6:37 ` amodra at gmail dot com
2021-03-31 16:29 ` [Bug middle-end/65182] -Wuninitialized fails when pointer to variable later passed to function (fixed? add testcase?) msebor at gcc dot gnu.org
2021-03-31 16:40 ` cvs-commit at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: amodra at gmail dot com @ 2015-02-24 6:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65182
Alan Modra <amodra at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |amodra at gmail dot com
--- Comment #4 from Alan Modra <amodra at gmail dot com> ---
Apologies for the wrong pr reference in comment #3
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/65182] -Wuninitialized fails when pointer to variable later passed to function (fixed? add testcase?)
2015-02-23 20:37 [Bug c/65182] New: -Wuninitialized fails when pointer to variable later passed to function tisaac at ices dot utexas.edu
` (3 preceding siblings ...)
2015-02-24 6:37 ` amodra at gmail dot com
@ 2021-03-31 16:29 ` msebor at gcc dot gnu.org
2021-03-31 16:40 ` cvs-commit at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: msebor at gcc dot gnu.org @ 2021-03-31 16:29 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65182
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
CC| |msebor at gcc dot gnu.org
--- Comment #7 from Martin Sebor <msebor at gcc dot gnu.org> ---
With -O0 both the test case in comment #0 and the one in comment #2 have been
diagnosed since sometime between r138836 and r138835 (GCC 4.4) so I'm not sure
how to explain that the bug is reported for Version 4.9.2. (With -O1 both test
cases have been diagnosed as far back as GCC 4.1.)
Let me resolve this and add the test case.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/65182] -Wuninitialized fails when pointer to variable later passed to function (fixed? add testcase?)
2015-02-23 20:37 [Bug c/65182] New: -Wuninitialized fails when pointer to variable later passed to function tisaac at ices dot utexas.edu
` (4 preceding siblings ...)
2021-03-31 16:29 ` [Bug middle-end/65182] -Wuninitialized fails when pointer to variable later passed to function (fixed? add testcase?) msebor at gcc dot gnu.org
@ 2021-03-31 16:40 ` cvs-commit at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-03-31 16:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65182
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Sebor <msebor@gcc.gnu.org>:
https://gcc.gnu.org/g:31199d95de1304e200554bbf98b2d8a6a7298bec
commit r11-7932-g31199d95de1304e200554bbf98b2d8a6a7298bec
Author: Martin Sebor <msebor@redhat.com>
Date: Wed Mar 31 10:39:24 2021 -0600
PR middle-end/65182 - -Wuninitialized fails when pointer to variable later
passed to function
gcc/testsuite:
PR middle-end/65182
* gcc.dg/uninit-pr65182.c: New test.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2021-03-31 16:40 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-23 20:37 [Bug c/65182] New: -Wuninitialized fails when pointer to variable later passed to function tisaac at ices dot utexas.edu
2015-02-23 23:04 ` [Bug middle-end/65182] " manu at gcc dot gnu.org
2015-02-24 3:42 ` manu at gcc dot gnu.org
2015-02-24 5:10 ` amodra at gcc dot gnu.org
2015-02-24 6:37 ` amodra at gmail dot com
2021-03-31 16:29 ` [Bug middle-end/65182] -Wuninitialized fails when pointer to variable later passed to function (fixed? add testcase?) msebor at gcc dot gnu.org
2021-03-31 16:40 ` cvs-commit at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).