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] |
Hi, The problem here is that encode_type and objc_push_parm don't handle error_mark_node that well. This fixes that problem by having them handle it. OK? Bootstrapped and tested on i686-linux-gnu with no regressions. Note I originally wrote this patch about a year and half ago and it still solves the ICE. Thanks, Andrew Pinski ChangeLog: * objc-act.c (encode_type): Handle when type is error_mark_node. (objc_push_parm): Handle when the type of parm is error_mark_node. * objc.dg/method-20.m: New testcase.
Attachment:
fixpr29197.diff.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |