This is the mail archive of the
mailing list for the GCC project.
Re: prevent creation of invalid static constructors from gimplifier
Olivier Hainque <firstname.lastname@example.org> 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.