This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/79955] GLIBC build fails after r245840
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 08 Mar 2017 09:47:42 +0000
- Subject: [Bug tree-optimization/79955] GLIBC build fails after r245840
- Auto-submitted: auto-generated
- References: <bug-79955-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79955
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Testcase that is fixed (at -O2, at -O1 we do not run isolate-paths...)
/* { dg-do compile } */
/* { dg-options "-O2 -Wmaybe-uninitialized" } */
int foo (int x)
{
int y;
if (x)
return *(&y + 1); /* { dg-bogus "may be used uninitialized" } */
return 0;
}