http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54082
Bug #: 54082 Summary: Program name shadows other entities with the same name Classification: Unclassified Product: gcc Version: 4.6.3 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: fortran AssignedTo: unassig...@gcc.gnu.org ReportedBy: tob.bra...@googlemail.com If the name of a program is the same as the name of another entity (e.g. a function), that entity can not be used in the program. --- Example: program abs print *, abs(-1) end program Compiling above program fails with this confusing error: print *, abs(-1) 1 Error: Symbol at (1) is not appropriate for an expression --- I'm not sure if the program is standard conform or not. If it isn't, then the error message could be improved.