Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
34 Views

ifort does not remove temps when using -syntax-only

Attempting to compile a file that requires preprocessing, the output of the preprocessor is saved in the current working folder, irrespective of the -[no-]save-temps and -[no]keep flags.  If you compile a file that has a .fpp extension (using the "-c" flag, for example on "test.fpp"), you only receive the output file as test.o in the working folder.  However, if you run the same compiler switches but replace the "-c" with "-syntax-only", the compiler leaves the "temp.i" file in the current folder.

Using ifort 18.0.5

0 Kudos
2 Replies
Highlighted
Valued Contributor I
34 Views

I don’t get what the question is?

0 Kudos
Highlighted
Beginner
34 Views

Not a question, a potential bug report.

0 Kudos