This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH for templates, pointers, and incomplete types
>>>>> "Jason" == Jason Merrill <jason@cygnus.com> writes:
Jason> Why not handle this in pointer_int_sum, instead of changing
Jason> all its call sites?
I was under some evil influence that lead me to believe that
pointer_int_sum was not in the C++ front-end and thus could not call
complete type.
I interpreted your message as meaning that the patch was OK except for
that aspect, and checked in a modified version that did the check in
pointer_int_sum and pointer_diff.
--
Mark Mitchell mark@markmitchell.com
Mark Mitchell Consulting http://www.markmitchell.com