Re: [Patch, fortran] PR79685 - [12/13/14/15 Regression] ICE on valid code in gfc_match_structure_constructor

2024-07-28 Thread Mikael Morin
Le 28/07/2024 à 11:24, Paul Richard Thomas a écrit : I have attached the updated and rather simpler patch. OK for master and backport. Thanks for the patch. Thanks for the prod, Mikael! Paul Fortran: Fix ICE with structure constructor in data statement [PR79685] 2024-07-28  Paul Thomas  ma

Re: [Patch, fortran] PR79685 - [12/13/14/15 Regression] ICE on valid code in gfc_match_structure_constructor

2024-07-28 Thread Paul Richard Thomas
I have attached the updated and rather simpler patch. Thanks for the prod, Mikael! Paul Fortran: Fix ICE with structure constructor in data statement [PR79685] 2024-07-28 Paul Thomas gcc/fortran PR fortran/79685 * decl.cc (match_data_constant): Find the symtree instead of the symbol so the