+2008-06-08 Janus Weil <janus@gcc.gnu.org>
+
+ PR fortran/36459
+ * decl.c (match_procedure_decl): Correctly recognize if the interface
+ is an intrinsic procedure.
+
2008-06-08 Tobias Burnus <burnus@net-b.de>
PR fortran/35830
return MATCH_ERROR;
}
/* Handle intrinsic procedures. */
- if (gfc_intrinsic_name (proc_if->name, 0)
- || gfc_intrinsic_name (proc_if->name, 1))
+ if (!(proc_if->attr.external || proc_if->attr.use_assoc
+ || proc_if->attr.if_source == IFSRC_IFBODY)
+ && (gfc_intrinsic_name (proc_if->name, 0)
+ || gfc_intrinsic_name (proc_if->name, 1)))
proc_if->attr.intrinsic = 1;
if (proc_if->attr.intrinsic
&& !gfc_intrinsic_actual_ok (proc_if->name, 0))