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: RFA: PATCH to c_sizeof_or_alignof_type for c++/42623


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?


Jason


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