https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86679

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-07-27
     Ever confirmed|0                           |1

--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
The code compiles and executes from at least 4.3.1 up to trunk (9.0).

If I replace

      p = 5

with

      t = 5

I get the error

       t = 5
      1
Error: Dummy argument 't' with INTENT(IN) in variable definition context
(assignment) at (1)

So the direct assignment is correctly diagnosed, but not the indirect one
through the pointer.

Reply via email to