[Bug fortran/17175] New: set_exponent breaks with integer*8 exponent

dje at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Aug 24 20:36:00 GMT 2004


Fortran test intrinsic_set_exponent.f90 subroutine test_real8 invokes 
set_exponent with an integer*8 parameter.  set_exponent selects the specific 
version based on the precision of the real parameter, but not the integer 
parameter, which is assumed to be integer*4.  If the target ABI does not 
accidentally pass the integer*8 exponent parameter correctly for an integer*4 
argument, the intrinsic fails because nothing forces the parameter and function 
signature to match.

-- 
           Summary: set_exponent breaks with integer*8 exponent
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dje at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-ibm-aix5.2.0.0
  GCC host triplet: powerpc-ibm-aix5.2.0.0
GCC target triplet: powerpc-ibm-aix5.2.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17175



More information about the Gcc-bugs mailing list