The doc for -fsyntax-only says "Check the code for syntax errors, but don’t do
anything beyond that." while that option actually does more than that: it
creates module files (the *.mod files).

If we believe it's an intended behaviour, it should be noted in the docs. If we
believe it's not what we want, we should make another -fgenerate-module-files
option and handle both. (we need an option to generate module files, because
it's used by the libgomp build machinery).

Personnaly, I'd go for the second option.


-- 
           Summary: -fsyntax-only documentation is not accurate
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: documentation
          Severity: enhancement
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: fxcoudert at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31612

Reply via email to