<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/56723>56723</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[Flang] Code with IO-implied-do fails in windows
</td>
</tr>
<tr>
<th>Labels</th>
<td>
flang:ir
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
kiranchandramohan
</td>
</tr>
</table>
<pre>
The following IO-implied-do fails in windows during MLIR verification.
Reproducer
```
subroutine ido3
integer :: j
write(*,*,err=404) (j,j=1,10)
404 continue
end subroutine
```
Error
```
error: loc("C:\\ws\\w3\\llvm-project\\premerge-checks\\flang\\test\\Lower\\dummy_io_implied_loop_test.f90":8:3): 'fir.result' op types mismatch between result op and its parent
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyFUsGOmzAQ_Rq4WEFgQyAHDmnSSCttVWnVe2TsAZw1GNlmUf6-A6ZdqVqp0jBjv3ngNw83Rj7rXz2Q1mhtFjV25OXnQQ2TViAP0pCWK-2IGgn2pFkckbNdWT9eX97IB1jVKsG9MmMSpdcoPYf8BpM1chZgd_SY7rFt3dxYM3s1AlHSsAASPMVDB5ZE7IxBHn_wxSoPEa0ieo7oJWSwNmLXPM0jeiLYeyD2QCTDmqUIhpeRQIQZ8agZAgKjJJ_nfykv5O_Wmq_lw9ZBhdqITRaKQsnFBWNxe2Whav0xHNCMBwgfkMnCALaDg-hBvO_0VvOxC0sPbme-mgUN3JZyHobnXZn7_mvu2pjpvlKT9oTjUhRQ4cPWyVFZRMtW2cSCm7XHDTET8c8JHBmUG7gXPWnALwAjCZyVwNEa5R2ZuIXR_zN6DHV2LKqK5ceMxrJm8sROPPbKa6ij4tstTHAlFyMBb4vv_3OT4tnquvd-cqt59IbR4Vtzkwgz4GZ1bi9_DaQ35dwMDhfFsaQs7uv8dCryMs2ZSEsoC4BM8pyVXLBKSijyWPMGtFslok3BZ3ZWdvWsuMaqpimlaUmPWUYZyxKRQ8UaKbIVxRzlKQwoPVmFJMZ2sa03Tc3cOWxq5bz7bHLnVDfCZsn6fT773tj6XVk-ih4dtnwwWONtkHqb4jcxDBIP">