Follow up fix: As the !GCC$ attributes are now added in reverse order, the 'stdcall' vs. 'fastcall' in the error message swapped order:"Error: stdcall and fastcall attributes are not compatible" This didn't show up here with -m64 ("Warning: 'stdcall' attribute ignored") and I didn't run it with -m32, but it was reported by Haochen's script +
manually confirmed by him. (Thanks for the report and checking – and sorry for the FAIL.)
Committed asr15-2401-g15158a8853a69f. Tobias