On Thu, 28 Apr 2005, Richard Guenther wrote:

> Excess errors:
> /net/alwazn/home/rguenth/src/gcc/cvs/gcc-4.1/gcc/testsuite/gcc.dg/c99-init-4.c:8:
> error: initializer element is not constant

So, in general you need to ensure that the new forms of trees are 
TREE_CONSTANT and pass initializer_constant_valid_p.  If not 
TREE_CONSTANT, look at where they are built up and find where 
TREE_CONSTANT is lost.  If failing initializer_constant_valid_p, work out 
how to adapt that function to cover the new canonical forms of trees.

-- 
Joseph S. Myers               http://www.srcf.ucam.org/~jsm28/gcc/
    [EMAIL PROTECTED] (personal mail)
    [EMAIL PROTECTED] (CodeSourcery mail)
    [EMAIL PROTECTED] (Bugzilla assignments and CCs)

Reply via email to