http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45521
--- Comment #11 from janus at gcc dot gnu.org 2012-04-20 12:29:34 UTC --- (In reply to comment #10) > However, it yields a segfault at runtime (-fdump-tree-original shows that > 'test2' is used in both calls). Related to this, it also shows that the specific call print *,test2(2.0) is not being rejected, while print *,test1(cos) is. For for former, we clearly need to add a check in 'compare_parameter' to reject it (which should also solve the segfault in comment #10 by selecting the correct specific function for the generic call).