[Bug fortran/37513] Misleading error for (invalid) protected_pointer => unprotected_pointer

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Fri Nov 6 13:38:00 GMT 2015


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Since version 4.6.4, the error is

   protected_pointer => unprotected_pointer
  1
Error: Variable 'protected_pointer' is PROTECTED and can not appear in a
pointer association context (pointer assignment) at (1)

This is tested by gfortran.dg/protected_8.f90 (r165883, pr46122). Closing as
FIXED.


More information about the Gcc-bugs mailing list