public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug fortran/16940] Failure to perform host association correctly [not found] <bug-16940-8128@http.gcc.gnu.org/bugzilla/> @ 2006-01-31 18:02 ` pinskia at gcc dot gnu dot org 0 siblings, 0 replies; 9+ messages in thread From: pinskia at gcc dot gnu dot org @ 2006-01-31 18:02 UTC (permalink / raw) To: gcc-bugs -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.0.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16940 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/16940] New: implicit none over-riding module declaration @ 2004-08-09 14:31 paulthomas2 at wanadoo dot fr 2004-09-16 14:12 ` [Bug fortran/16940] Failure to perform host association correctly tobi at gcc dot gnu dot org ` (5 more replies) 0 siblings, 6 replies; 9+ messages in thread From: paulthomas2 at wanadoo dot fr @ 2004-08-09 14:31 UTC (permalink / raw) To: gcc-bugs ! note Max_Loc_Mod MUST be separated in bug6mod.f90 - another bug? ! ! The "implicit none" on line 20 causes (compiles and runs OK if deleted): ! ! $ ../bin/gfortran bug6mod.f90 bug6.f90 -o test ! In file bug6.f90:9 ! ! N = Max_Loc (Unsorted) ! Location of largest element ! 1 ! Error: Symbol 'max_loc' at (1) has no IMPLICIT type ! In file bug6.f90:14 ! ! use Sel_Sort_Mod ! 1 ! Fatal Error: Can't open module file 'sel_sort_mod.mod' for reading at (1): No su ! ch file or directory module Sel_Sort_Mod use Max_Loc_Mod implicit none contains recursive subroutine Selection_Sort (Unsorted) real, intent (in out) :: Unsorted (:) integer :: N N = Max_Loc (Unsorted) ! Location of largest element return end subroutine Selection_Sort end module Sel_Sort_Mod program Variety use Sel_Sort_Mod implicit none real :: Vector (2) Vector = (/1.0,2.0/) call Selection_Sort (Vector) stop end program Variety !bug6mod.f90 ********* module Max_Loc_Mod implicit none interface Max_Loc module procedure I_Max_Loc, R_Max_Loc end interface contains function I_Max_Loc (Vector) result(Ans) integer, intent (in), dimension(:) :: Vector integer :: Ans Ans = size(Vector) return end function I_Max_Loc function R_Max_Loc (Vector) result(Ans) real, intent (in), dimension(:) :: Vector integer :: Ans Ans = size(Vector) return end function R_Max_Loc end module Max_Loc_Mod -- Summary: implicit none over-riding module declaration Product: gcc Version: 3.5.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: paulthomas2 at wanadoo dot fr CC: bdavis at gcc dot gnu dot org,gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16940 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/16940] Failure to perform host association correctly 2004-08-09 14:31 [Bug fortran/16940] New: implicit none over-riding module declaration paulthomas2 at wanadoo dot fr @ 2004-09-16 14:12 ` tobi at gcc dot gnu dot org 2004-09-23 17:56 ` tobi at gcc dot gnu dot org ` (4 subsequent siblings) 5 siblings, 0 replies; 9+ messages in thread From: tobi at gcc dot gnu dot org @ 2004-09-16 14:12 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From tobi at gcc dot gnu dot org 2004-09-16 14:12 ------- Updated summary, removed patch from keywords to reflect status more correctly. -- What |Removed |Added ---------------------------------------------------------------------------- Keywords|patch | Summary|implicit none over-riding |Failure to perform host |module declaration |association correctly http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16940 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/16940] Failure to perform host association correctly 2004-08-09 14:31 [Bug fortran/16940] New: implicit none over-riding module declaration paulthomas2 at wanadoo dot fr 2004-09-16 14:12 ` [Bug fortran/16940] Failure to perform host association correctly tobi at gcc dot gnu dot org @ 2004-09-23 17:56 ` tobi at gcc dot gnu dot org 2004-09-23 19:32 ` Toon Moene 2004-09-23 19:43 ` tobi at gcc dot gnu dot org ` (3 subsequent siblings) 5 siblings, 1 reply; 9+ messages in thread From: tobi at gcc dot gnu dot org @ 2004-09-23 17:56 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From tobi at gcc dot gnu dot org 2004-09-23 17:56 ------- *** Bug 17630 has been marked as a duplicate of this bug. *** -- What |Removed |Added ---------------------------------------------------------------------------- CC| |giannozz at nest dot sns dot | |it http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16940 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Bug fortran/16940] Failure to perform host association correctly 2004-09-23 17:56 ` tobi at gcc dot gnu dot org @ 2004-09-23 19:32 ` Toon Moene 2004-09-23 19:42 ` Tobias Schlüter 0 siblings, 1 reply; 9+ messages in thread From: Toon Moene @ 2004-09-23 19:32 UTC (permalink / raw) To: Tobias Schlüter; +Cc: gcc-bugs tobi at gcc dot gnu dot org wrote: > ------- Additional Comments From tobi at gcc dot gnu dot org 2004-09-23 17:56 ------- > *** Bug 17630 has been marked as a duplicate of this bug. *** > Don't you think it's rather a dupe of http://gcc.gnu.org/PR17379 ? Or are they just all dupes of each other :-) -- Toon Moene - e-mail: toon@moene.indiv.nluug.nl - phone: +31 346 214290 Saturnushof 14, 3738 XG Maartensdijk, The Netherlands Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html A maintainer of GNU Fortran 95: http://gcc.gnu.org/fortran/ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Bug fortran/16940] Failure to perform host association correctly 2004-09-23 19:32 ` Toon Moene @ 2004-09-23 19:42 ` Tobias Schlüter 0 siblings, 0 replies; 9+ messages in thread From: Tobias Schlüter @ 2004-09-23 19:42 UTC (permalink / raw) To: Toon Moene; +Cc: gcc-bugs Toon Moene wrote: > tobi at gcc dot gnu dot org wrote: > > >>------- Additional Comments From tobi at gcc dot gnu dot org 2004-09-23 17:56 ------- >>*** Bug 17630 has been marked as a duplicate of this bug. *** >> > > Don't you think it's rather a dupe of > > http://gcc.gnu.org/PR17379 > > ? > > Or are they just all dupes of each other :-) > I think they all expose the same shortcoming (whatever it maybe exactly). Since we deal with symbols in the same way, independent if they are functions or variables, I think that the bug with the most general summary wins in this case :-) I'll also mark PR 17379 a dup of 16940. - Tobi ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/16940] Failure to perform host association correctly 2004-08-09 14:31 [Bug fortran/16940] New: implicit none over-riding module declaration paulthomas2 at wanadoo dot fr 2004-09-16 14:12 ` [Bug fortran/16940] Failure to perform host association correctly tobi at gcc dot gnu dot org 2004-09-23 17:56 ` tobi at gcc dot gnu dot org @ 2004-09-23 19:43 ` tobi at gcc dot gnu dot org 2005-07-19 20:20 ` cvs-commit at gcc dot gnu dot org ` (2 subsequent siblings) 5 siblings, 0 replies; 9+ messages in thread From: tobi at gcc dot gnu dot org @ 2004-09-23 19:43 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From tobi at gcc dot gnu dot org 2004-09-23 19:43 ------- *** Bug 17379 has been marked as a duplicate of this bug. *** -- What |Removed |Added ---------------------------------------------------------------------------- CC| |CARendleman at lbl dot gov http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16940 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/16940] Failure to perform host association correctly 2004-08-09 14:31 [Bug fortran/16940] New: implicit none over-riding module declaration paulthomas2 at wanadoo dot fr ` (2 preceding siblings ...) 2004-09-23 19:43 ` tobi at gcc dot gnu dot org @ 2005-07-19 20:20 ` cvs-commit at gcc dot gnu dot org 2005-07-22 19:09 ` cvs-commit at gcc dot gnu dot org 2005-07-22 19:13 ` paulthomas2 at wanadoo dot fr 5 siblings, 0 replies; 9+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2005-07-19 20:20 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-19 20:14 ------- Subject: Bug 16940 CVSROOT: /cvs/gcc Module name: gcc Changes by: pault@gcc.gnu.org 2005-07-19 20:14:03 Modified files: gcc/fortran : resolve.c ChangeLog gcc/testsuite : ChangeLog Added files: gcc/testsuite/gfortran.dg: module_interface_1.f90 Log message: 2005-07-19 Paul Thomas <pault@gcc.gnu.org> PR fortran/16940 * resolve.c (resolve_symbol): A symbol with FL_UNKNOWN is matched against interfaces in parent namespaces. If there the symtree is set to point to the interface. 2005-07-19 Paul Thomas <pault@gcc.gnu.org> PR fortran/16940 * gfortran.dg/module_interface_1.f90: New test. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/resolve.c.diff?cvsroot=gcc&r1=1.45&r2=1.46 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.498&r2=1.499 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/module_interface_1.f90.diff?cvsroot=gcc&r1=NONE&r2=1.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5784&r2=1.5785 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16940 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/16940] Failure to perform host association correctly 2004-08-09 14:31 [Bug fortran/16940] New: implicit none over-riding module declaration paulthomas2 at wanadoo dot fr ` (3 preceding siblings ...) 2005-07-19 20:20 ` cvs-commit at gcc dot gnu dot org @ 2005-07-22 19:09 ` cvs-commit at gcc dot gnu dot org 2005-07-22 19:13 ` paulthomas2 at wanadoo dot fr 5 siblings, 0 replies; 9+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2005-07-22 19:09 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-22 19:03 ------- Subject: Bug 16940 CVSROOT: /cvs/gcc Module name: gcc Branch: gcc-4_0-branch Changes by: pault@gcc.gnu.org 2005-07-22 19:03:39 Modified files: gcc/fortran : resolve.c ChangeLog gcc/testsuite : ChangeLog Added files: gcc/testsuite/gfortran.dg: module_interface_1.f90 Log message: 2005-07-22 Paul Thomas <pault@gcc.gnu.org> PR fortran/16940 * resolve.c (resolve_symbol): A symbol with FL_UNKNOWN is matched against interfaces in parent namespaces. If there the symtree is set to point to the interface. 2005-07-22 Paul Thomas <pault@gcc.gnu.org> PR fortran/16940 * gfortran.dg/module_interface.f90: New test. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/resolve.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.34.2.10&r2=1.34.2.11 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.335.2.93&r2=1.335.2.94 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/module_interface_1.f90.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.4.1 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5084.2.292&r2=1.5084.2.293 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16940 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/16940] Failure to perform host association correctly 2004-08-09 14:31 [Bug fortran/16940] New: implicit none over-riding module declaration paulthomas2 at wanadoo dot fr ` (4 preceding siblings ...) 2005-07-22 19:09 ` cvs-commit at gcc dot gnu dot org @ 2005-07-22 19:13 ` paulthomas2 at wanadoo dot fr 5 siblings, 0 replies; 9+ messages in thread From: paulthomas2 at wanadoo dot fr @ 2005-07-22 19:13 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From paulthomas2 at wanadoo dot fr 2005-07-22 19:13 ------- Fixed on mainline and 4.02 -- What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16940 ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2006-01-31 18:02 UTC | newest] Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-16940-8128@http.gcc.gnu.org/bugzilla/> 2006-01-31 18:02 ` [Bug fortran/16940] Failure to perform host association correctly pinskia at gcc dot gnu dot org 2004-08-09 14:31 [Bug fortran/16940] New: implicit none over-riding module declaration paulthomas2 at wanadoo dot fr 2004-09-16 14:12 ` [Bug fortran/16940] Failure to perform host association correctly tobi at gcc dot gnu dot org 2004-09-23 17:56 ` tobi at gcc dot gnu dot org 2004-09-23 19:32 ` Toon Moene 2004-09-23 19:42 ` Tobias Schlüter 2004-09-23 19:43 ` tobi at gcc dot gnu dot org 2005-07-19 20:20 ` cvs-commit at gcc dot gnu dot org 2005-07-22 19:09 ` cvs-commit at gcc dot gnu dot org 2005-07-22 19:13 ` paulthomas2 at wanadoo dot fr
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).