This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/52669] No warning in unused private variable in modules
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 22 Mar 2012 16:24:06 +0000
- Subject: [Bug fortran/52669] No warning in unused private variable in modules
- Auto-submitted: auto-generated
- References: <bug-52669-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52669
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
CC| |burnus at gcc dot gnu.org
--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-03-22 16:24:06 UTC ---
g95 is better in this regard:
integer :: a, b, c
1
Warning (137): Variable 'c' at (1) is never used and never set
integer :: a, b, c
1
Warning (112): Variable 'a' at (1) is set but never used
integer :: a, b, c
1
Warning (112): Variable 'b' at (1) is set but never used