public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/31463]  New: gfortran prints no warning message when an unset return value is an array
@ 2007-04-03 16:37 michael dot a dot richmond at nasa dot gov
  2007-04-03 17:45 ` [Bug fortran/31463] " michael dot a dot richmond at nasa dot gov
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: michael dot a dot richmond at nasa dot gov @ 2007-04-03 16:37 UTC (permalink / raw)
  To: gcc-bugs

When I compile the function listed below I receive no diagnostics. It should
say:

test.f90: In function 'test':
test.f90:1: warning: Function return value not set

FUNCTION test() RESULT(f)
REAL, DIMENSION(1) :: f
END FUNCTION test


-- 
           Summary: gfortran prints no warning message when an unset return
                    value is an array
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: michael dot a dot richmond at nasa dot gov


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31463


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-02-28 20:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-03 16:37 [Bug fortran/31463] New: gfortran prints no warning message when an unset return value is an array michael dot a dot richmond at nasa dot gov
2007-04-03 17:45 ` [Bug fortran/31463] " michael dot a dot richmond at nasa dot gov
2007-04-18  5:52 ` fxcoudert at gcc dot gnu dot org
2008-01-28 15:46 ` dfranke at gcc dot gnu dot org
2008-01-29  3:33 ` [Bug fortran/31463] [patch] inconsistent warnings if function return value is not set dfranke at gcc dot gnu dot org
2008-01-29 10:18 ` burnus at gcc dot gnu dot org
2008-01-29 10:27 ` dfranke at gcc dot gnu dot org
2008-02-28 20:24 ` dfranke at gcc dot gnu dot org
2008-02-28 20:26 ` dfranke 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).