http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47177
Summary: bad example of using -dM in manual Product: gcc Version: 4.6.0 Status: UNCONFIRMED Keywords: documentation Severity: minor Priority: P3 Component: fortran AssignedTo: unassig...@gcc.gnu.org ReportedBy: r...@gcc.gnu.org http://gcc.gnu.org/onlinedocs/gfortran/Preprocessing-Options.html gives an example of using -dM: touch foo.f90; gfortran -cpp -dM foo.f90 But the CPP documentation for -dM at http://gcc.gnu.org/onlinedocs/cpp/Invocation.html#index-dM-183 points out that without -E it will be interpreted as a synonym for -fdump-rtl-mach To print the predefined macros the example should be changed to touch foo.f90; gfortran -cpp -E -dM foo.f90