Re: [patch, fortran] Fix PR 88008, ICE on invalid

2019-03-17 Thread Thomas Koenig
Hi Domoinique, + gfc_error ("Error in component call at %L", and call x%z%g() ! { dg-error "Error in typebound call" } Corrected. If there isn't anything else, I'll commit tonight (as three quarters obvious) to keep down the number of concurrent patches in my tree :-) Regards

Re: [patch, fortran] Fix PR 88008, ICE on invalid

2019-03-17 Thread Dominique d'Humières
Hi Thomas, The patch looks good to me, with one nit: + gfc_error ("Error in component call at %L", and call x%z%g() ! { dg-error "Error in typebound call" } doesn’t look right. Thanks for the patch. Dominique

[patch, fortran] Fix PR 88008, ICE on invalid

2019-03-16 Thread Thomas Koenig
Hello world, this patch fixes an ICE on invalid 9 regression by converting two asserts into gfc_error, plus fixups to the rest of the code. Regression-tested. OK for trunk? Regards Thomas Index: gfortran.h === --- gfortran