public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/45654] New: -fwhole-file doesn't warn about INTERFACE vs. definition mismatches
@ 2010-09-13 12:15 jakub at gcc dot gnu dot org
2010-09-22 5:31 ` [Bug fortran/45654] " pault at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-09-13 12:15 UTC (permalink / raw)
To: gcc-bugs
Sorry if this is a dup.
Is there any reason why with -fwhole-file we don't warn about:
subroutine foo(ptr, ptr2, f)
integer, pointer :: ptr(:), ptr2(:)
logical :: f
if (f) then
allocate (ptr(6))
else
nullify(ptr)
end if
end subroutine
subroutine bar()
real, pointer :: ptr(:), ptr2(:)
real, target :: a(6)
interface
subroutine foo(ptr, ptr2, f)
real, pointer :: ptr(:), ptr2(:)
logical :: f
end subroutine
end interface
ptr2 = a
call foo(ptr, ptr2, .true.)
ptr = a + 6
end subroutine
?
--
Summary: -fwhole-file doesn't warn about INTERFACE vs. definition
mismatches
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jakub at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45654
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug fortran/45654] -fwhole-file doesn't warn about INTERFACE vs. definition mismatches
2010-09-13 12:15 [Bug fortran/45654] New: -fwhole-file doesn't warn about INTERFACE vs. definition mismatches jakub at gcc dot gnu dot org
@ 2010-09-22 5:31 ` pault at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: pault at gcc dot gnu dot org @ 2010-09-22 5:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pault at gcc dot gnu dot org 2010-09-22 05:31 -------
No.
Confirmed - thanks for picking it up.
Paul
--
pault at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-09-22 05:31:30
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45654
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-09-22 5:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-13 12:15 [Bug fortran/45654] New: -fwhole-file doesn't warn about INTERFACE vs. definition mismatches jakub at gcc dot gnu dot org
2010-09-22 5:31 ` [Bug fortran/45654] " pault at gcc dot gnu dot org
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).