This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/15382] frontend too lenient when checking variable declarations
- From: "tobi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Sep 2005 11:06:59 -0000
- Subject: [Bug fortran/15382] frontend too lenient when checking variable declarations
- References: <20040511174403.15382.Tobias.Schlueter@physik.uni-muenchen.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From tobi at gcc dot gnu dot org 2005-09-12 11:06 -------
schluter@pcl247d:~/src/tests> ../gcc/build/gcc/f951 pr15083.f90
In file pr15083.f90:4
REAL :: Y = 1.
1
Error: Initializer not allowed for COMMON variable 'y' at (1)
Execution times (seconds)
TOTAL : 0.01 0.00 0.02
533 kB
Extra diagnostic checks enabled; compiler may run slowly.
Configure with --disable-checking to disable checks.
schluter@pcl247d:~/src/tests>
This was fixed by Paul Thomas' recent patches for commons and equivalences.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15382