[Bug fortran/82065] gfortran rejects redundant use of intrinsic module constant
anlauf at gmx dot de
gcc-bugzilla@gcc.gnu.org
Wed Apr 11 19:09:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82065
--- Comment #5 from Harald Anlauf <anlauf at gmx dot de> ---
This looks pretty much like a namespace problem.
Adding in the example in comment #4
common /x/ integer_kinds
e.g. to subroutine sub1 makes the code illegal but compile.
It then prints:
1 2 4 8
0 0 0 0
I have looked at use_iso_fortran_env_module in module.c, but
frankly I do not understand how the code is supposed to work.
More information about the Gcc-bugs
mailing list