[patch, fortran] Fix PR 79795

Thomas Koenig tkoenig@netcologne.de
Sun Oct 15 18:09:00 GMT 2017


Hello world,

the attached patch fixes a regression by turning an ICE-on-invalid into
an error message (and making sure that it fits).

Regression-tested on trunk.

OK for all affected branches (8/7/6)?

Regards

	Thomas

2017-10-15  Thomas Koenig  <tkoenig@gcc.gnu.org>

         PR fortran/79795
         * resolve.c (resovle_symbol): Change gcc_assert to
         sensible error message.

2017-10-15  Thomas Koenig  <tkoenig@gcc.gnu.org>

         PR fortran/79795
         * gfortran.dg/assumed_size_2.f90: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p4.diff
Type: text/x-patch
Size: 847 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20171015/e15ebd13/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: assumed_size_2.f90
Type: text/x-fortran
Size: 120 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20171015/e15ebd13/attachment-0001.bin>


More information about the Fortran mailing list