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, we fixed c++/58647 with: 9672 case COMPONENT_REF: 9673 if (is_overloaded_fn (t)) 9674 { 9675 /* We can only get here in checking mode via 9676 build_non_dependent_expr, because any expression that 9677 calls or takes the address of the function will have 9678 pulled a FUNCTION_DECL out of the COMPONENT_REF. */ 9679 gcc_checking_assert (allow_non_constant); 9680 *non_constant_p = true; 9681 return t; 9682 }which also added a gcc_checking_assert. In the new issue the assert triggers during error recovery and I guess we can simply loosen it a bit with || errorcount, the below passes testing.
Thanks, Paolo. //////////////////////
Attachment:
CL_60215
Description: Text document
Attachment:
patch_60215
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |