C++ PATCH: two minor constexpr-related fixes
Jason Merrill
jason@redhat.com
Wed Jul 21 14:37:00 GMT 2010
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.
The second patch: the code for comparing CONSTRUCTOR was long obsolete,
as CONSTRUCTORs aren't expressions anymore.
Tested x86_64-pc-linux-gnu, applied to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ctor-compare.patch
Type: text/x-patch
Size: 2017 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100721/b500f189/attachment.bin>
More information about the Gcc-patches
mailing list