From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9886 invoked by alias); 6 Jul 2007 09:54:20 -0000 Received: (qmail 9853 invoked by uid 48); 6 Jul 2007 09:54:11 -0000 Date: Fri, 06 Jul 2007 09:54:00 -0000 Message-ID: <20070706095411.9852.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c/29116] Failure to diagnose violation of constraint 6.7.5.2p2 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-07/txt/msg00726.txt.bz2 ------- Comment #2 from pinskia at gcc dot gnu dot org 2007-07-06 09:54 ------- The issue is we are folding 0*n into 0 but not marking it as being non constant, we could use the infrastructure provided by the patch for PR 32643 and set folding_initializer correctly while folding of the array size. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pinskia at gcc dot gnu dot | |org BugsThisDependsOn| |32643 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29116