[Bug fortran/71967] Protected and private specified at the same time and the symbol is accessible

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Fri Jul 22 11:31:00 GMT 2016


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> but I believe it should not.

Why? If you think it is because you have

 protected :: k
 private :: k

I did not find such a restriction in the standard.


More information about the Gcc-bugs mailing list