[patch, fortran] Pr87233 Constraint C1279 still followed after f2008 standard revision
The attached patch removes the subject constraint for gfortran default and
-std=f2008/f2018. I had issues with repetitious errors. I tried to get rid of it
using the e->error = 1 method useded later in the function, but that did not
work, so I resorted to gfc_error_now which does the job.
Also modified one test case and added a new to cover this in the testsuite.
* gfortran.dg/initialization_14.f90: Modify to now pass by
remiving two dg-error commands. Added comments.
* gfortran.dg/initialization_30.f90: New test that includes the
two tests removed above with the 'dg-options -std=f95'.
Re: [patch, fortran] Pr87233 Constraint C1279 still followed after f2008 standard revision
Could not get the use of gfc_get_errors to work right, it missed one of the
errors in initialazation_30.f90. So I just did the deed.
Committing to svn+ssh://[hidden email]/svn/gcc/trunk ...