prevent creation of invalid static constructors from gimplifier

Ian Lance Taylor iant@google.com
Mon Jul 17 17:11:00 GMT 2006


Olivier Hainque <hainque@adacore.com> writes:

> 	(CONSTRUCTOR_STATIC_FROM_ELTS_P): New macro.  Whether a constructor
> 	node is a valid static constant initializer if all its elements are.

I think this should probably be a function in varasm.c.

> +   /* Whether CTOR is a valid constant initializer, in accordance with what
> +      initializer_constant_valid_p does.  If inferred from the constructor
> +      elements, true until prooven otherwise.  */

Typo: "prooven" -> "proven".

OK with those changes.

Thanks for putting up with all the suggestions.

Ian



More information about the Gcc-patches mailing list