Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29282 Discussions

Possible bug with with -gen-dep and -syntax-only

Richard_Gordon
Beginner
830 Views
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
0 Kudos
4 Replies
Steven_L_Intel1
Employee
830 Views
You found a bug. I have reported this to the developers as issue DPD200181605.
0 Kudos
Izaak_Beekman
New Contributor II
830 Views

I'm curious as to the status of this bug, and if it has been fixed, in which release?

0 Kudos
Kevin_D_Intel
Employee
830 Views

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.

0 Kudos
Steven_L_Intel1
Employee
830 Views

I know it's been a while, but this bug is expected to be fixed in 16.0.1 (2016 Update 1)

0 Kudos
Reply