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: C++ PATCH: two minor constexpr-related fixes


On Wed, Jul 21, 2010 at 9:37 AM, Jason Merrill <jason@redhat.com> wrote:
> The first patch: The flags we pass here are eventually passed to
> convert_for_initialization, and we want LOOKUP_COMPLAIN so we get errors.
> ?This may only have an effect on the constexpr branch, where we use
> digest_init for literal types, but is correct in any case.

OK

>
> The second patch: the code for comparing CONSTRUCTOR was long obsolete, as
> CONSTRUCTORs aren't expressions anymore.

Thanks for the correction.

-- Gaby


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