[Patch, fortran] PR66257 [5/6 regression] elemental typebound calls rejected as actual argument

Mikael Morin mikael.morin@sfr.fr
Sat May 23 22:45:00 GMT 2015


Hello,

For PR 63727, a check was introduced, rejecting procedure pointer
components used as actual arguments:
	foo(obj%proc_comp)
but it had the side effect of also rejecting
	foo(obj%proc_comp(arg))

Fixed by the attached patch.
Tested on x86_64-linux. OK for 6/5 ?

Mikael



-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr66257_v1.diff
Type: text/x-patch
Size: 838 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150523/b9883968/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: typebound_call_27.f90
Type: text/x-fortran
Size: 800 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150523/b9883968/attachment-0001.bin>


More information about the Gcc-patches mailing list