[patch, fortran] PR39239 reject BIND(C) in EQUIVALENCE

Nicolas Koenig koenigni@student.ethz.ch
Sun Mar 12 19:29:00 GMT 2017


Hello everyone,

this is my first attempt at a patch. The necessary paperwork for me to 
contribute is all said & done. I'm looking forward to some more compiler 
hacking :)

Nicolas

Here is the changelog:

2017-03-12  Nicolas Koenig  <koenigni@student.ethz.ch>

                 PR fortran/39239
                 * resolve.c (resolve_equivalence): report an error if 
an equivalence variable is BIND(C).

2017-03-12  Nicolas Koenig  <koenigni@student.ethz.ch>

                 PR fortran/39239
                 * gfortran.dg/equiv_constraint_bind_c.f90: New test.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: p2.diff
Type: text/x-patch
Size: 597 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20170312/d5a6884d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: equiv_constraint_bind_c.f90
Type: text/x-fortran
Size: 250 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20170312/d5a6884d/attachment-0001.bin>


More information about the Gcc-patches mailing list