https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109684
Tomáš Trnka <trnka at scm dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |trnka at scm dot com --- Comment #2 from Tomáš Trnka <trnka at scm dot com> --- Created attachment 55133 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55133&action=edit cmake-less equivalent of the original testcase Here are the same files from the original testcase sorted in the order that cmake uses to compile them. Simply running "gfortran -c *.f90" here performs the exact same sequence of compilation steps as the original cmake build, reproducing the issue.