<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/60317>60317</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
surprise with the Fortran preprocessor
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
mfvalin
</td>
</tr>
</table>
<pre>
the flang-new preprocessor substitutes macros inside of a #include <filename> directive
#define IgnoreTypeKindRank zz
#include <rmn/IgnoreTypeKindRank.hf>
produced
#include <rmn/zz.hf>
different from the usual behavior of gfortran/pgfortran/flang(old)/xlf/ifort/ifx
i am curious about the rationale for this feature
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx0UsGOnDoQ_BpzsXZkbGZgDhz2vV2kKLcoP9DgNnRibNS2Z3fn6yPYKNkoyqmRqKruKhekRHNA7MX5P3F-qqDkJXK_uht4CtUY7VufF5TOQ5gfAr7IjXHjOGFKkWUqY8qUS8YkV5g4JkkhkUUZnQQptKEw-WJRCvO_I48BVhTmWVpinDLdUKgnoR6FNhYdBZSf5hAZv75t-JmC_QLhu7zff4E-qPEahB7-hp8WJ8zzO2PjaMuE9t_8-_0j3pJzyBiydBxXuRsvqYCXIy5wo8i7rdlFzgw7e_vwfSQkdBe9Ffoq9PDqndAD7Yhjvr7vIAmrnApTLEnCGEs-9jBkigE8ShdZ5oWSdAi5MFa2N_ZqrlBhX1_apj2rc6OqpVeNmZrOKKWhs7pVbdPA1LlONVesXVNX1Guljar1pb7oq1KnxkEL7txpBViP-iwahSuQP3l_W0-R54pSKthflKnbysOIPh3N0Hp_-uOn0HovCvc752EscxKN8pRy-q2SKXvsU-GNKaF8obwcJof3tP7oUFXY90vOWxLmUehB6GGmvJTxNMVV6GEX_TkeNo7fcDri3E9JQg_HqT8CAAD__zG96zw">