RFA: PATCH to c_sizeof_or_alignof_type for c++/42623

Richard Guenther richard.guenther@gmail.com
Fri Apr 9 15:18:00 GMT 2010


On Fri, Apr 9, 2010 at 5:17 PM, Jason Merrill <jason@redhat.com> wrote:
> On 04/09/2010 11:12 AM, Richard Guenther wrote:
>>
>> On Fri, Apr 9, 2010 at 5:02 PM, Jason Merrill<jason@redhat.com>  wrote:
>>>
>>> In this function, other errors result in returning error_mark_node, but
>>> for
>>> some reason an incomplete type wasn't doing so, which confused the
>>> template
>>> code into thinking that it was OK to take sizeof such a type.
>>>
>>> Tested x86_64-pc-linux-gnu.  OK for trunk?
>>
>> Looks good, but I'm not sure if I can approve it.  Do you have a
>> testcase to add?
>
> Other than the testcase in the patch?

Err - I'm blind.

Sorry for the noise ;)

Thanks,
Richard.

> Jason
>



More information about the Gcc-patches mailing list