This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32727] [4.3 regression] bogus error: Error: Symbol 'sort' referenced at (1) not found in module 'util'
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jul 2007 06:38:22 -0000
- Subject: [Bug fortran/32727] [4.3 regression] bogus error: Error: Symbol 'sort' referenced at (1) not found in module 'util'
- References: <bug-32727-6642@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from burnus at gcc dot gnu dot org 2007-07-11 06:38 -------
Working: 2007-07-09-r126478
Failing: 2007-07-10-r126510
I believe it is due to the patch
r126509 | pault | 2007-07-10 07:11:00 +0200 (Di, 10 Jul 2007) | 28 lines
PR 32634 [...]
* module.c (write_generic): Write the local name of the
interface.
but I might be wrong and it is one of:
r126486 | dfranke | 2007-07-09 16:56:49 +0200 (Mon, 09 Jul 2007) | 14 lines
r126493 | kargl | 2007-07-09 21:41:37 +0200 (Mon, 09 Jul 2007) | 6 lines
r126496 | fxcoudert | 2007-07-10 00:00:52 +0200 (Tue, 10 Jul 2007) | 6 lines
The error message is:
USE util, ONLY: sort
1
Error: Symbol 'sort' referenced at (1) not found in module 'util'
Reduced test case:
MODULE kinds
INTEGER, PARAMETER :: dp = SELECTED_REAL_KIND ( 14, 200 )
END MODULE kinds
MODULE util
USE kinds, ONLY: dp
INTERFACE sort
MODULE PROCEDURE sort2
END INTERFACE
CONTAINS
SUBROUTINE sort2 ( )
END SUBROUTINE sort2
END MODULE util
MODULE graphcon
USE util, ONLY: sort
END MODULE graphcon
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pault at gcc dot gnu dot org
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32727