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

            Bug ID: 69121
           Summary: IEEE_SCALB is not generic
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kargl at gcc dot gnu.org
  Target Milestone: ---

% cat cc.f90
program foo
   use ieee_arithmetic
   implicit none
   real x
   integer(2) n
   x = 2.
   n = 2
   print *, ieee_scalb(x,n)
end program foo

% gfc -fdump-tree-original cc.f90
cc.f90:8:11:

    print *, ieee_scalb(x,n)
           1

Error: There is no specific function for the generic 'ieee_scalb' at (1)

Reply via email to