public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/81809] missing -Wuninitialized due to alias analysis limitation
[not found] <bug-81809-4@http.gcc.gnu.org/bugzilla/>
@ 2020-07-14 22:16 ` msebor at gcc dot gnu.org
2024-02-05 16:56 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 2+ messages in thread
From: msebor at gcc dot gnu.org @ 2020-07-14 22:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81809
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |10.1.0, 11.0, 8.2.0, 9.2.0
--- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> ---
Another test case for the same underlying bug.
$ cat z.c && gcc -O2 -S -Wall z.c
void f (const int*, const int*);
void g (void)
{
int a = 0, b;
f (&a, &b);
}
void h (void)
{
int a = 0, b;
f (&a, 0);
f (&b, 0);
}
z.c: In function ‘g’:
z.c:6:3: warning: ‘b’ may be used uninitialized [-Wmaybe-uninitialized]
6 | f (&a, &b);
| ^~~~~~~~~~
z.c:1:6: note: by argument 2 of type ‘const int *’ to ‘f’ declared here
1 | void f (const int*, const int*);
| ^
z.c:5:14: note: ‘b’ declared here
5 | int a = 0, b;
| ^
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug tree-optimization/81809] missing -Wuninitialized due to alias analysis limitation
[not found] <bug-81809-4@http.gcc.gnu.org/bugzilla/>
2020-07-14 22:16 ` [Bug tree-optimization/81809] missing -Wuninitialized due to alias analysis limitation msebor at gcc dot gnu.org
@ 2024-02-05 16:56 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-02-05 16:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81809
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |symbioticfemale@cumallover.
| |me
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 113769 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-05 16:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-81809-4@http.gcc.gnu.org/bugzilla/>
2020-07-14 22:16 ` [Bug tree-optimization/81809] missing -Wuninitialized due to alias analysis limitation msebor at gcc dot gnu.org
2024-02-05 16:56 ` pinskia 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).