Minor C++ PATCHes to tsubsting

Jason Merrill jason@redhat.com
Wed Sep 7 17:11:00 GMT 2011


Two little things I noticed while working on another issue:

1) We were passing tf_none to tsubst_template_argument even when we want 
to explain a deduction failure.
2) We were calling tsubst_aggr_type and *then* checking whether it's a type.

Tested x86_64-pc-linux-gnu, applying to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tsubst-diag.patch
Type: text/x-patch
Size: 3128 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110907/4482aab8/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tsubst-context.patch
Type: text/x-patch
Size: 935 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110907/4482aab8/attachment-0001.bin>


More information about the Gcc-patches mailing list