http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53818
Bug #: 53818 Summary: -fno-automatic cannot have initializer Classification: Unclassified Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassig...@gcc.gnu.org ReportedBy: j.moy...@voila.fr I try to compile this fortran code on Red Hat 5.7 linux x86_64 platform : logical function testing(date1, date2) result(test) integer date1, date2 test = ( (date1 < date2) .or. ( date1==date2 )) end function testing But when I integrate '-fno-automatic' option, I obtain this error message : function testing(date1, date2) result(test) 1 Error: Function result 'test' at (1) cannot have an initializer Is-it a normal issue?