This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/14568] [gfortran] should not warn about unused variables in common blocks
- From: "pbrook at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Mar 2004 19:17:03 -0000
- Subject: [Bug fortran/14568] [gfortran] should not warn about unused variables in common blocks
- References: <20040313102258.14568.schnetter@aei.mpg.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pbrook at gcc dot gnu dot org 2004-03-26 19:17 -------
You must declare variables in a common block in order to determine it's size and layout.
Hence we should not warn if you only use some of them.
We could warn for entirely unused common blocks.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14568