[Bug middle-end/81329] Missing -Wmaybe-uninitialized warning

2017-11-07 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81329

Manuel López-Ibáñez  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||manu at gcc dot gnu.org
 Resolution|--- |DUPLICATE

--- Comment #3 from Manuel López-Ibáñez  ---
foo is assumed initialized to 1 by CCP and the whole "atoi(argv[1]) != 0"
branch is optimized away. -O0 does not warn because initialization is
conditional.

*** This bug has been marked as a duplicate of bug 18501 ***

[Bug middle-end/81329] Missing -Wmaybe-uninitialized warning

2017-07-05 Thread tudorb at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81329

--- Comment #2 from Tudor Bosman  ---
(In reply to Andrew Pinski from comment #1)
> There are a few duplicates of this bug floating around.

I figured, but I don't know anything about gcc internals to tell which of these
duplicates are the same bug and which are different (same symptom, different
internal cause).

[Bug middle-end/81329] Missing -Wmaybe-uninitialized warning

2017-07-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81329

Andrew Pinski  changed:

   What|Removed |Added

  Component|c   |middle-end

--- Comment #1 from Andrew Pinski  ---
There are a few duplicates of this bug floating around.