From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3180 invoked by alias); 22 Jul 2003 22:10:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 3170 invoked by uid 48); 22 Jul 2003 22:10:56 -0000 Date: Tue, 22 Jul 2003 22:10:00 -0000 Message-ID: <20030722221056.3169.qmail@sources.redhat.com> From: "msimons at simons-clan dot com" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20030722205341.11633.msimons@simons-clan.com> References: <20030722205341.11633.msimons@simons-clan.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/11633] g++ does not initialize structures when auto-increment variables are used X-Bugzilla-Reason: CC X-SW-Source: 2003-07/txt/msg02647.txt.bz2 List-Id: 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.