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,as I told Marek in the audit trail, I'm working on a more complete patch consistently changing maybe_deduce_size_from_array_init for various error recovery issues (see the trail of c++/84632 too), but since this specific regression ultimately started with a previous change of mine and it's very simple I decided to send it now, for 8.1.0. Essentially, the idea is setting TREE_TYPE (decl) to error_mark_node - the normal error recovery mechanism in this function via cp_complete_array_type - also when the early check_array_designated_initializer fails.
Tested x86_64-linux, Paolo. //////////////////////////
Attachment:
CL_84972
Description: Text document
Attachment:
patch_84972
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |