With option -fdollar-ok the compiler does not recognize symbols that start with $
test case: program test a$a = 12 $a = 12 ! error end I currently have a lot of legacy code with identifiers starting with $. -- Summary: dollar sign in entities is not recognized when it is first symbol Product: gcc Version: unknown Status: UNCONFIRMED Severity: minor Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: anickol at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39670