This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: prevent creation of invalid static constructors from gimplifier


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]