This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/15382] frontend too lenient when checking variable declarations


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]