public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug fortran/50331] New: -Wuninitialized and variable passed to WRITE statements
@ 2011-09-08 15:09 arnaud02 at users dot sourceforge.net
2011-09-08 15:20 ` [Bug fortran/50331] " dominiq at lps dot ens.fr
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: arnaud02 at users dot sourceforge.net @ 2011-09-08 15:09 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50331
Bug #: 50331
Summary: -Wuninitialized and variable passed to WRITE
statements
Classification: Unclassified
Product: gcc
Version: 4.6.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: arnaud02@users.sourceforge.net
Considering:
subroutine qq()
write(*,*) aa ! aa has not been set
end
gfortran 4.6.1 does not emit any warning when using "gfortran -O3
-Wuninitialized -c qq.f".
For reference:
>df /c -I.. qq.f
Compaq Visual Fortran Optimizing Compiler Version 6.6 (Update A)
Copyright 2001 Compaq Computer Corp. All rights reserved.
qq.f
qq.f(2) : Warning: Variable AA is used before its value has been defined
write(*,*) aa
-----------------^
I was expected that this deficiency had been fixed due the work for issue 43665
but clearly not yet.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/50331] -Wuninitialized and variable passed to WRITE statements 2011-09-08 15:09 [Bug fortran/50331] New: -Wuninitialized and variable passed to WRITE statements arnaud02 at users dot sourceforge.net @ 2011-09-08 15:20 ` dominiq at lps dot ens.fr 2011-09-08 15:52 ` kargl at gcc dot gnu.org ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: dominiq at lps dot ens.fr @ 2011-09-08 15:20 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50331 --- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-09-08 15:18:30 UTC --- It is likely a duplicate of pr34721. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/50331] -Wuninitialized and variable passed to WRITE statements 2011-09-08 15:09 [Bug fortran/50331] New: -Wuninitialized and variable passed to WRITE statements arnaud02 at users dot sourceforge.net 2011-09-08 15:20 ` [Bug fortran/50331] " dominiq at lps dot ens.fr @ 2011-09-08 15:52 ` kargl at gcc dot gnu.org 2013-06-25 9:11 ` dominiq at lps dot ens.fr 2015-10-18 20:33 ` dominiq at lps dot ens.fr 3 siblings, 0 replies; 5+ messages in thread From: kargl at gcc dot gnu.org @ 2011-09-08 15:52 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50331 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P5 CC| |kargl at gcc dot gnu.org Severity|normal |enhancement ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/50331] -Wuninitialized and variable passed to WRITE statements 2011-09-08 15:09 [Bug fortran/50331] New: -Wuninitialized and variable passed to WRITE statements arnaud02 at users dot sourceforge.net 2011-09-08 15:20 ` [Bug fortran/50331] " dominiq at lps dot ens.fr 2011-09-08 15:52 ` kargl at gcc dot gnu.org @ 2013-06-25 9:11 ` dominiq at lps dot ens.fr 2015-10-18 20:33 ` dominiq at lps dot ens.fr 3 siblings, 0 replies; 5+ messages in thread From: dominiq at lps dot ens.fr @ 2013-06-25 9:11 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50331 Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2013-06-25 Ever confirmed|0 |1 --- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- Still present at revision 200371. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/50331] -Wuninitialized and variable passed to WRITE statements 2011-09-08 15:09 [Bug fortran/50331] New: -Wuninitialized and variable passed to WRITE statements arnaud02 at users dot sourceforge.net ` (2 preceding siblings ...) 2013-06-25 9:11 ` dominiq at lps dot ens.fr @ 2015-10-18 20:33 ` dominiq at lps dot ens.fr 3 siblings, 0 replies; 5+ messages in thread From: dominiq at lps dot ens.fr @ 2015-10-18 20:33 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50331 Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- > It is likely a duplicate of pr34721. No feedback for over four years, make as duplicate. *** This bug has been marked as a duplicate of bug 34721 *** ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-10-18 20:33 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-09-08 15:09 [Bug fortran/50331] New: -Wuninitialized and variable passed to WRITE statements arnaud02 at users dot sourceforge.net 2011-09-08 15:20 ` [Bug fortran/50331] " dominiq at lps dot ens.fr 2011-09-08 15:52 ` kargl at gcc dot gnu.org 2013-06-25 9:11 ` dominiq at lps dot ens.fr 2015-10-18 20:33 ` dominiq at lps dot ens.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).