[Patch, Fortran] PR 39304 - fix generic function issue

Tobias Burnus burnus@net-b.de
Sat Jan 23 21:59:00 GMT 2010


Hi all,

PR 39304 shows two issues:
a) The wrong specific function is checked for e.g. MATMUL when using
generic functions
b) For pointer returning functions there is an issue, causing a segfault
(cf. bugreport to PR 39304 but see also PR 42851)

This patch fixes the first issue and is rather straight forward.
Build and regtested on x86-64-linux. OK for the trunk?

Tobias

PS: I used "dg-do run", one can also save computation power and simply
use "dg-do compile" which is enough for this PR; if you prefer the
latter, tell me.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: generic.diff
Type: text/x-patch
Size: 1800 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100123/df9e2fc9/attachment.bin>


More information about the Gcc-patches mailing list