public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/33884] New: data-initialized unused variables not detected
@ 2007-10-24 19:26 tkoenig at gcc dot gnu dot org
2007-10-25 10:55 ` [Bug fortran/33884] " fxcoudert at gcc dot gnu dot org
2010-05-01 14:25 ` dfranke at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2007-10-24 19:26 UTC (permalink / raw)
To: gcc-bugs
$ cat data.f
subroutine foo
real a
data a /1.3/
end
$ gfortran -c -Wall -O3 data.f
$ g77 -c -Wall -O3 data.f
data.f: In subroutine `foo':
In file included from data.f:0:
data.f:2: warning: unused variable 'a'
I'd expect a warning, like g77.
--
Summary: data-initialized unused variables not detected
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: diagnostic
Severity: enhancement
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tkoenig at gcc dot gnu dot org
OtherBugsDependingO 33056
nThis:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33884
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug fortran/33884] data-initialized unused variables not detected
2007-10-24 19:26 [Bug fortran/33884] New: data-initialized unused variables not detected tkoenig at gcc dot gnu dot org
@ 2007-10-25 10:55 ` fxcoudert at gcc dot gnu dot org
2010-05-01 14:25 ` dfranke at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2007-10-25 10:55 UTC (permalink / raw)
To: gcc-bugs
--
fxcoudert 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 |2007-10-25 10:55:15
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33884
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug fortran/33884] data-initialized unused variables not detected
2007-10-24 19:26 [Bug fortran/33884] New: data-initialized unused variables not detected tkoenig at gcc dot gnu dot org
2007-10-25 10:55 ` [Bug fortran/33884] " fxcoudert at gcc dot gnu dot org
@ 2010-05-01 14:25 ` dfranke at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: dfranke at gcc dot gnu dot org @ 2010-05-01 14:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from dfranke at gcc dot gnu dot org 2010-05-01 14:24 -------
This is very close to PR30438.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33884
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-05-01 14:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-24 19:26 [Bug fortran/33884] New: data-initialized unused variables not detected tkoenig at gcc dot gnu dot org
2007-10-25 10:55 ` [Bug fortran/33884] " fxcoudert at gcc dot gnu dot org
2010-05-01 14:25 ` 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).