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

           Summary: gfortran -M exits with fatal error when -o option is
                    used
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: thenl...@users.sourceforge.net


When "-o file" is specified, the command exits with an error.

Example test.for:
      program test
      print "(a)", "hello world"
      end program

$ gfortran -cpp -M test.for -o test.d
Fatal Error: output filename specified twice

Expected action:
Write dependency to test.d

Version: gcc version 4.6.0 20110122 (experimental) (GCC)
Platform: i686-pc-mingw32

Reply via email to