[patch, Fortran, committed] Fix PR 69742, ICE in assoc lists

Thomas Koenig tkoenig@netcologne.de
Tue Feb 16 21:13:00 GMT 2016


Hello world,

the attached patch fixes PR 69742 (a regression) by simply not
attempting to do function elimination in an assoc list.

Committed as obvious and simple to trunk, the other affected
branches will follow shortly.

Regards

	Thomas

2015-02-16  Thomas Koenig  <tkoenig@gcc.gnu.org>

         PR fortran/69742
         * frontend-passes.c (cfe-expr_0):  Don't register functions
         from within an ASSOCIATE statement.

2015-02-16  Thomas Koenig  <tkoenig@gcc.gnu.org>

         PR fortran/69742
         * gfortran.dg/associate_21.f90:  New test.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: p1.diff
Type: text/x-patch
Size: 366 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20160216/9c31aa83/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: associate_21.f90
Type: text/x-fortran
Size: 490 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20160216/9c31aa83/attachment-0001.bin>


More information about the Fortran mailing list