[Bug fortran/68243] QOI: no warning about unused entities in submodules
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68243 Paul Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #6 from Paul Thomas --- Dear Martin, I believe that the testcase in my previous comment shows that this PR is invalid. If you do not agree, please reopen it and tell me why. Thanks for the report anyway! Cheers Paul
[Bug fortran/68243] QOI: no warning about unused entities in submodules
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68243 --- Comment #5 from Paul Thomas --- (In reply to Dominique d'Humieres from comment #1) > Confirmed. Isn't this testcase a demonstration that unused3 and unused4 can be used outside of m2? module m1 implicit none private interface module subroutine s1 end subroutine end interface public s1 integer unused1 contains subroutine unused2 end subroutine end module submodule (m1) m2 implicit none integer :: unused3 = 9 contains subroutine unused4 unused3 = 99 end subroutine end submodule submodule (m1:m2) m3 implicit none contains module procedure s1 print *, unused3 call unused4 print *, unused3 end procedure end submodule use m1 call s1 end Cheers Paul
[Bug fortran/68243] QOI: no warning about unused entities in submodules
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68243 --- Comment #4 from paul.richard.thomas at gmail dot com --- Sorry! Wrong PR. On 8 November 2015 at 11:18, pault at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68243 > > --- Comment #3 from Paul Thomas --- > (In reply to Paul Thomas from comment #2) >> That's a wierd one! I'll take a look later on. > > I presume that I have to lay out the common block with the pointer and the > string length variable together? It's the only way that I can see to do this. > > It works with the "other brand". > > Cheers > > Paul > > -- > You are receiving this mail because: > You are on the CC list for the bug. > You are the assignee for the bug.
[Bug fortran/68243] QOI: no warning about unused entities in submodules
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68243 --- Comment #3 from Paul Thomas --- (In reply to Paul Thomas from comment #2) > That's a wierd one! I'll take a look later on. I presume that I have to lay out the common block with the pointer and the string length variable together? It's the only way that I can see to do this. It works with the "other brand". Cheers Paul
[Bug fortran/68243] QOI: no warning about unused entities in submodules
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68243 Paul Thomas changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org --- Comment #2 from Paul Thomas --- That's a wierd one! I'll take a look later on. Thanks Paul
[Bug fortran/68243] QOI: no warning about unused entities in submodules
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68243 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2015-11-07 CC||pault at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres --- Confirmed.