[C++ PATCH] Don't ICE on TYPE_BINFO (PR c++/59111)

Jason Merrill jason@redhat.com
Sat Dec 21 04:03:00 GMT 2013


On 12/20/2013 09:29 AM, Marek Polacek wrote:
> We ICEd on invalid testcases with auto, because lookup_conversions
> got template_type_parm as a parameter and the TYPE_BINFO didn't like
> it.  Fixed by checking for RECORD_OR_UNION_TYPE_P first.

Use CLASS_TYPE_P instead.  OK with that change.

Jason




More information about the Gcc-patches mailing list