re PR fortran/54594 ([OOP] Type-bound ASSIGNMENTs (elemental + array version) rejected as ambiguous)

2012-09-16  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/54594
	* resolve.c (get_checked_tb_operator_target): Add a reference to the
	relevant quote from the F08 standard.

From-SVN: r191366
This commit is contained in:
Janus Weil 2012-09-17 00:04:26 +02:00
parent aa6590cfbe
commit 2e33ad2166
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2012-09-16 Janus Weil <janus@gcc.gnu.org>
PR fortran/54594
* resolve.c (get_checked_tb_operator_target): Add a reference to the
relevant quote from the F08 standard.
2012-09-16 Janus Weil <janus@gcc.gnu.org> 2012-09-16 Janus Weil <janus@gcc.gnu.org>
PR fortran/54594 PR fortran/54594

View file

@ -11429,7 +11429,7 @@ get_checked_tb_operator_target (gfc_tbp_generic* target, locus where)
target_proc = target->specific->u.specific->n.sym; target_proc = target->specific->u.specific->n.sym;
gcc_assert (target_proc); gcc_assert (target_proc);
/* All operator bindings must have a passed-object dummy argument. */ /* F08:C468. All operator bindings must have a passed-object dummy argument. */
if (target->specific->nopass) if (target->specific->nopass)
{ {
gfc_error ("Type-bound operator at %L can't be NOPASS", &where); gfc_error ("Type-bound operator at %L can't be NOPASS", &where);