public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/15510] New: Should not warn about unused variables from used modules
@ 2004-05-18 21:21 schnetter at aei dot mpg dot de
2004-05-18 23:04 ` [Bug fortran/15510] " pinskia at gcc dot gnu dot org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: schnetter at aei dot mpg dot de @ 2004-05-18 21:21 UTC (permalink / raw)
To: gcc-bugs
Gfortran should not warn about unused variables from used modules. It is
common to declare a set of (global) variables in a module and then use this
module wherever some of these are needed. It would be very cumbersome to use
only those variables that are actually needed.
The current behaviour leads to many useless warnings.
--
Summary: Should not warn about unused variables from used modules
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: schnetter at aei dot mpg dot de
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15510
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/15510] Should not warn about unused variables from used modules
2004-05-18 21:21 [Bug fortran/15510] New: Should not warn about unused variables from used modules schnetter at aei dot mpg dot de
@ 2004-05-18 23:04 ` pinskia at gcc dot gnu dot org
2004-05-20 22:29 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-18 23:04 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15510
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/15510] Should not warn about unused variables from used modules
2004-05-18 21:21 [Bug fortran/15510] New: Should not warn about unused variables from used modules schnetter at aei dot mpg dot de
2004-05-18 23:04 ` [Bug fortran/15510] " pinskia at gcc dot gnu dot org
@ 2004-05-20 22:29 ` pinskia at gcc dot gnu dot org
2004-06-09 18:15 ` [Bug fortran/15510] [gfortran] " tobi at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-20 22:29 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-19 22:58 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-05-19 22:58:26
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15510
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/15510] [gfortran] Should not warn about unused variables from used modules
2004-05-18 21:21 [Bug fortran/15510] New: Should not warn about unused variables from used modules schnetter at aei dot mpg dot de
2004-05-18 23:04 ` [Bug fortran/15510] " pinskia at gcc dot gnu dot org
2004-05-20 22:29 ` pinskia at gcc dot gnu dot org
@ 2004-06-09 18:15 ` tobi at gcc dot gnu dot org
2004-06-14 16:05 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-06-09 18:15 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From tobi at gcc dot gnu dot org 2004-06-09 18:15 -------
(this only happens if -Wunused-variables is given)
Patch here: http://gcc.gnu.org/ml/fortran/2004-06/msg00060.html
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
Summary|Should not warn about unused|[gfortran] Should not warn
|variables from used modules |about unused variables from
| |used modules
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15510
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/15510] [gfortran] Should not warn about unused variables from used modules
2004-05-18 21:21 [Bug fortran/15510] New: Should not warn about unused variables from used modules schnetter at aei dot mpg dot de
` (2 preceding siblings ...)
2004-06-09 18:15 ` [Bug fortran/15510] [gfortran] " tobi at gcc dot gnu dot org
@ 2004-06-14 16:05 ` cvs-commit at gcc dot gnu dot org
2004-06-14 16:09 ` tobi at gcc dot gnu dot org
2004-07-10 0:38 ` [Bug fortran/15510] " pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-06-14 16:05 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-06-14 16:05 -------
Subject: Bug 15510
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: tobi@gcc.gnu.org 2004-06-14 16:04:42
Modified files:
gcc/fortran : ChangeLog trans-decl.c
Log message:
PR fortran/15510
* trans-deecl.c (generate_local_decl): Do not issue warning for
unused variables if they're use associated.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.72&r2=1.73
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-decl.c.diff?cvsroot=gcc&r1=1.12&r2=1.13
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15510
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/15510] [gfortran] Should not warn about unused variables from used modules
2004-05-18 21:21 [Bug fortran/15510] New: Should not warn about unused variables from used modules schnetter at aei dot mpg dot de
` (3 preceding siblings ...)
2004-06-14 16:05 ` cvs-commit at gcc dot gnu dot org
@ 2004-06-14 16:09 ` tobi at gcc dot gnu dot org
2004-07-10 0:38 ` [Bug fortran/15510] " pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: tobi at gcc dot gnu dot org @ 2004-06-14 16:09 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From tobi at gcc dot gnu dot org 2004-06-14 16:09 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15510
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug fortran/15510] Should not warn about unused variables from used modules
2004-05-18 21:21 [Bug fortran/15510] New: Should not warn about unused variables from used modules schnetter at aei dot mpg dot de
` (4 preceding siblings ...)
2004-06-14 16:09 ` tobi at gcc dot gnu dot org
@ 2004-07-10 0:38 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-10 0:38 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15510
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-07-10 0:38 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-18 21:21 [Bug fortran/15510] New: Should not warn about unused variables from used modules schnetter at aei dot mpg dot de
2004-05-18 23:04 ` [Bug fortran/15510] " pinskia at gcc dot gnu dot org
2004-05-20 22:29 ` pinskia at gcc dot gnu dot org
2004-06-09 18:15 ` [Bug fortran/15510] [gfortran] " tobi at gcc dot gnu dot org
2004-06-14 16:05 ` cvs-commit at gcc dot gnu dot org
2004-06-14 16:09 ` tobi at gcc dot gnu dot org
2004-07-10 0:38 ` [Bug fortran/15510] " pinskia 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).