[Bug c++/11633] g++ does not initialize structures when auto-increment variables are used
msimons at simons-clan dot com
gcc-bugzilla@gcc.gnu.org
Tue Jul 22 22:10:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11633
------- Additional Comments From msimons at simons-clan dot com 2003-07-22 22:10 -------
static int zap[] = { ++count-1, ++count-1, ++count-1 };
static int baz[] = { ++count-1, ++count-1, ++count-1 };
===
Changing the code to the above... works around this problem in this sample.
More information about the Gcc-bugs
mailing list