[Bug fortran/96033] New: error: The Fortran compiler gfortran will not compile files that call the same routine with arguments of different types.
skorzennik at cfa dot harvard.edu
gcc-bugzilla@gcc.gnu.org
Thu Jul 2 13:52:17 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96033
Bug ID: 96033
Summary: error: The Fortran compiler gfortran will not compile
files that call the same routine with arguments of
different types.
Product: gcc
Version: 10.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: skorzennik at cfa dot harvard.edu
Target Milestone: ---
Failed to configure to build mvapich2-2.3.[14] (both versions) using GCC
10.1.0. I have no problem building mvapich2 w/ GCC pre-10.x (9.3, 9.2, etc...)
Boils down to trying to compile
conftest.f
::::::::::::::
program main
integer a
real b
character c
call foo1(a)
call foo1(b)
call foo1(c)
end
This test code compiles fine w/ 9.3.0, or older GCC I have installed and tried
(9.2.0, 7.3.0 or 4.8.5).
More information about the Gcc-bugs
mailing list