https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109202

            Bug ID: 109202
           Summary: gfortran -M outputs dependency cycle
           Product: gcc
           Version: 12.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: volker.weissmann at gmx dot de
  Target Milestone: ---

How to reproduce:

$ cat foo.f90
module circle
integer :: x
end module circle
program prog
use, non_intrinsic :: circle, only: x
end program prog
$ gfortran -cpp -M  -c foo.f90
circle.mod foo.o: foo.f90 /usr/include/finclude/math-vector-fortran.h \
 circle.mod

Why is this a problem?
This leads ninja to complain that there is a dependency cycle: circle.mod
depends on circle.mod
  • [Bug fortran/109202] New: gfor... volker.weissmann at gmx dot de via Gcc-bugs

Reply via email to