Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29234 Diskussionen

ifx, -gen-dep generates incorrect dependencies if -fpp is used

Miguel_V_
Einsteiger
877Aufrufe

The following minimum example code (example.f):

      program example
      write (*,*) 'Hello world'
      end

When compiled with:

ifx -c example.f -gen-dep=example.d

generates a correct dependency file:

example.o : \
example.f

But, when compiled with -fpp:

ifx -fpp -c example.f -gen-dep=example.d

Then, the dependency file is incorrect:

example.o : \
/tmp/ifx00788182170K24b3/ifxOJO6SA.i

The version used:

$ ifx --version
ifx (IFX) 2025.1.0 20250317
Copyright (C) 1985-2025 Intel Corporation. All rights reserved.

This error was not present with ifort.

Thanks in advance.

Beschriftungen (2)
0 Kudos
1 Antworten
Ron_Green
Moderator
828Aufrufe

Bug ID is CMPLRLLVM-68142. thank you for sending this to us.


Antworten