public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "janus at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/42677] [4.5 Regression] Bogus Error: Ambiguous interfaces '...' in intrinsic assignment operator
Date: Thu, 14 Jan 2010 21:35:00 -0000 [thread overview]
Message-ID: <20100114213508.13827.qmail@sourceware.org> (raw)
In-Reply-To: <bug-42677-6318@http.gcc.gnu.org/bugzilla/>
------- Comment #7 from janus at gcc dot gnu dot org 2010-01-14 21:35 -------
(In reply to comment #2)
> I would guess it is due to PR 36947.
Yes, I think this is correct. r148519, to be precise.
The following patch fixes it:
Index: interface.c
===================================================================
--- interface.c (revision 155865)
+++ interface.c (working copy)
@@ -986,8 +986,7 @@ gfc_compare_interfaces (gfc_symbol *s1, gfc_symbol
}
}
- if (s1->attr.if_source == IFSRC_UNKNOWN
- || s2->attr.if_source == IFSRC_UNKNOWN)
+ if (s1->attr.if_source == IFSRC_UNKNOWN)
return 1;
f1 = s1->formal;
I haven't checked this for regressions. Also I'm not sure if there might be a
more appropriate way to fix it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42677
next prev parent reply other threads:[~2010-01-14 21:35 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-09 23:46 [Bug fortran/42677] New: [Regression] " anlauf at gmx dot de
2010-01-09 23:47 ` [Bug fortran/42677] " anlauf at gmx dot de
2010-01-10 9:30 ` [Bug fortran/42677] 4.5 " burnus at gcc dot gnu dot org
2010-01-10 11:57 ` [Bug fortran/42677] [4.5 Regression] " burnus at gcc dot gnu dot org
2010-01-11 8:51 ` dominiq at lps dot ens dot fr
2010-01-11 8:53 ` dominiq at lps dot ens dot fr
2010-01-12 13:29 ` pault at gcc dot gnu dot org
2010-01-14 16:38 ` rguenth at gcc dot gnu dot org
2010-01-14 21:35 ` janus at gcc dot gnu dot org [this message]
2010-01-14 22:23 ` janus at gcc dot gnu dot org
2010-01-14 22:59 ` janus at gcc dot gnu dot org
2010-01-17 13:16 ` janus at gcc dot gnu dot org
2010-01-17 13:33 ` janus at gcc dot gnu dot org
2010-01-17 13:37 ` janus at gcc dot gnu dot org
2010-02-07 4:47 ` hjl at gcc dot gnu dot org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100114213508.13827.qmail@sourceware.org \
--to=gcc-bugzilla@gcc.gnu.org \
--cc=gcc-bugs@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).