This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/51900] [4.6/4.7 Regression] const variable initialization always zero
- From: "d.g.gorbachev at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 20 Jan 2012 22:37:02 +0000
- Subject: [Bug target/51900] [4.6/4.7 Regression] const variable initialization always zero
- Auto-submitted: auto-generated
- References: <bug-51900-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51900
--- Comment #11 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> 2012-01-20 22:37:02 UTC ---
It looks like a GCC bug, not INVALID.
myVar[i] is replaced by constant zero in main().