On 2/22/06, Inder <[EMAIL PROTECTED]> wrote: > Hi All > > I am trying to compile 'test.cc' (code attached) with the gcc 4.0.1 > it gives me the following error: > > test.cc:19: error: array bound is not an integer constant
Interestingly we end up with the C++ parser producing &0B->lengthD.1993 == (intD.2 *) (intD.2) &0B->lengthD.1986 ? 10 : 1 as non-constant expression (note the casts have been stripped on the LHS of the comparison, not the RHS). You should file a bugzilla for this (or search for an existing one for this). Richard.