This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Tobias Burnus wrote:On 08/08/2009 03:37 PM, Daniel Kraft wrote:I concur. Please fill a PR.The locations errors by gfc_check_operator_interface are associated to seem a little confused to me... I don't think that messages like "should be a FUNCTION/SUBROUTINE" should be at the procedure's definition but rather where the procedure is defined as operator [...] For type-bound operators, it's the same (as the same code is used) -- see the test-case for details. I suggest to open a PR for this (namely making error locations with operator interfaces more consistent), but take it for now as this patch does it.
I'll do so now.
-- Done: Arc-Bar-Cav-Ran-Rog-Sam-Tou-Val-Wiz To go: Hea-Kni-Mon-Pri
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |