* Bug 82065 - gfortran rejects redundant use of intrinsic module constant
@ 2017-08-31 21:19 Damian Rouson
0 siblings, 0 replies; only message in thread
From: Damian Rouson @ 2017-08-31 21:19 UTC (permalink / raw)
To: gfortran
I just submitted the text below in the above referenced bug report.
Damian
$ cat use-intrinsic-module-twice.f90
use iso_fortran_env
implicit none
print *, integer_kinds
call testsub
contains
subroutine testsub
use iso_fortran_env
print * , integer_kinds
end subroutine
end
$ gfortran use-intrinsic-module-twice.f90
/tmp/ccoAKOqk.s: Assembler messages:
/tmp/ccoAKOqk.s:134: Error: symbol `__iso_fortran_env_MOD_integer_kinds' is already defined
$ gfortran --version
GNU Fortran (GCC) 8.0.0 20170731 (experimental)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-08-31 21:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-31 21:19 Bug 82065 - gfortran rejects redundant use of intrinsic module constant Damian Rouson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).