- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
I may have found a bug when using -gen-dep and -syntax-only. Please consider the following samples files and code:
mymod.f90
[fortran]module mod_data
implicit none
character(len=*), parameter :: myhello = "hello world"
end module mod_data
module
[/fortran]
main.f90
[fortran]program hi
use mod_data, only: myhello
implicit none
print*, myhello
end program
[/fortran]
I compile with version 12.1.3 20120212 (64 bit).
When executingifort -c -gen-dep mymod.f90 main.f90I get the following:
[bash]mod_data.mod : \
mymod.f90
mymod.o : \
mymod.f90
main.o : \
main.f90 mod_data.mod
[/bash]
This is the correct list of dependencies.
When executingifort -c -gen-dep -syntax-only mymod.f90 main.f90 I get
[bash]mod_data.mod : \
mymod.f90
mymod.o : \
mymod.f90
mymod.o : \
main.f90 mod_data.mod
[/bash]
This is the incorrect list of dependencies.
Please let me know if I've missed something. Thank you.
-Grey
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You found a bug. I have reported this to the developers as issue DPD200181605.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm curious as to the status of this bug, and if it has been fixed, in which release?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The defect Steve reported is not fixed and there are no current status notes. From previous notes they indicated understanding the root cause. I pinged the Developer for a status update.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I know it's been a while, but this bug is expected to be fixed in 16.0.1 (2016 Update 1)

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page