<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/138919>138919</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [flang] Should pointer assignment with `NULL(ALLOCATABLE` target an extension?
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            flang:frontend
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          DanielCChen
      </td>
    </tr>
</table>

<pre>
    Consider the following code:
```
real, allocatable :: ra
real, pointer :: rp
rp => null(ra)
end

```

The is not conforming to the standard as the result of `null(ra)` does not have either the POINTER or the TARGET attribute.
However, it doesn't seem harmful. 
Only XLF issues an error message. If this is considered as a reasonable extension. The `Extensions.md` should be updated.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxUkttunDAQhp_G3IyCjNnlcMEF2UMbaZVU6VbqrcEDuDL2yh42zdtXZjdtIyGhYZjD988vQ9CjRWzY9pFt94lcaHK-2Uur0ex2E9qkc-q92TkbtEIPNCEMzhj3pu0IvVPI8pbxlhX8_vDWozRM7EAa43pJsjMI8a-8BS__y1-ctoT-b-4Scxdg-Z7lB7CLMUxUXjJRM96iVXHM50mMt-cJQQewjqB3dnB-jouRWzcNJK2SXoEMa-wxLIbADcAK_mlAwUE5vPWZ5BUBNU133m8vT8_nwyu4W3huX78cziCJvO4WwpTx9qt7wyv6SKVp7WSZKAkC4gyT9POwmBQYb1-seYefpyPoEBYMIC2g987DjCHIEVN4GoAmHSJUf1cdVwAJHmVwdtUTfxPaoJ1NISrACn74-BLSWUWeMLnFKOgQlouShCpNVJOrOq9lgk1Wbooir8usTKZG5B1mpSiqIuM8LyRu-7qQXHWlGiqsy0Q3gost3_IyKzfZtkwrUfXV0FXIB8WLumQbjrPUJjXmOqfOj8kK2GR5VWd1YmSHJqwuE2Iw0o4sbwfvLMW7ChG955tY-9AtY2AbbnSg8K8baTKrS2_F2z18v-F9mOjm5BktwZumKSry_ON0YqJqT6eXXXtuH0-HKAtJPyKtwn8oxvJjsnjTTESXEN0ojkwcR03T0qW9m5k4xkXur4eLd7-wJyaOtyMycbxjXhvxJwAA__8gihA0">