This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/79305] New: real128 - undefined reference to cexpl


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

            Bug ID: 79305
           Summary: real128 - undefined reference to cexpl
           Product: gcc
           Version: 6.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mexas at bristol dot ac.uk
  Target Milestone: ---

FreeBSD 11.0-RELEASE-p2

use, intrinsic :: iso_fortran_env, only: real128
integer, parameter :: fk = real128
complex( kind=fk ) :: z
z = cmplx( 1.0_fk, -1.0_fk, kind=fk )
write (*,*) exp( z )
end

$ gfortran49 z.f90 
/tmp//ccIF7kVE.o: In function `MAIN__':
z.f90:(.text+0x79): undefined reference to `cexpl'
collect2: error: ld returned 1 exit status

$ gfortran6 z.f90 
/tmp//ccq1EOKO.o: In function `MAIN__':
z.f90:(.text+0x62): undefined reference to `cexpl'
collect2: error: ld returned 1 exit status

$ gfortran7 z.f90 
/tmp//ccgH1sQM.o: In function `MAIN__':
z.f90:(.text+0x62): undefined reference to `cexpl'
collect2: error: ld returned 1 exit status

Have I missed something?

Thanks

Anton

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]