<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/139624>139624</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[flang] Missing runtime error diagnostic when deallocate an unallocated object
</td>
</tr>
<tr>
<th>Labels</th>
<td>
flang:runtime
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
DanielCChen
</td>
</tr>
</table>
<pre>
Consider the following code:
```
integer, allocatable :: a
deallocate(a)
end
```
Flang executes it without error.
Is the omission of the runtime diagnostic intentional or under an option?
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxcUUuO3CAQPQ3eoGlh8HfBwumWpSxyCDBlmwhTLT7Tye0jHGcyGoSEiqpXeh8Vo908gCTtN9I-KpXTjkE-lLfg7vcdfKXR_JZ39NEaCDTtQFd0Dl_Wb3RBA0RMhE2kY9dlEz2P9Qk2CITfqXIOF5WUdkDLuJioKnMGrg4QPijCxw8wePNlKWHT7JTfKPyCJSeI1Cb6smnHnCiEgOFG2PQ9ngzxsDFa9BTXsw7ZJ3sANVZtHmOyy0nPJ4teOYqBZl_UKU_xWT6JmGllpDCjGFUFsu6bng1i6Mdql82wahBsEUo0Xb9ypRu9Dr3phGpMK8bKSs54y9qa85o1Yrzpse26zui667tlYQNpGBzKuptz78cNw1bZGDPIWowdbyqnNLh4ZsL5WlQTMV0aCOclqCAL9E3nLZKGORtT_L8s2eTOSP9i2wf9Ufzw24cRp2Gf7Xjt4D_lUZzI_l9lKOqfsKQqByf3lJ6xpMhnwufNpj3r24IH4XMhcD1vz4AFQvh8SouEz5e6d8n_BAAA__98CcsL">