This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/77280] program using sizeof(array) fails after adding a statement with sizeof(array)
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 17 Aug 2016 15:01:47 +0000
- Subject: [Bug c/77280] program using sizeof(array) fails after adding a statement with sizeof(array)
- Authentication-results: sourceware.org; auth=none
- Auto-submitted: auto-generated
- References: <bug-77280-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77280
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu.org
--- Comment #5 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
And we do not warn because of PR18501, which ends up assuming that pr is
initialized to 5 (with optimization).