[Bug tree-optimization/41035] New: AIX cexp builtin underflow

dje at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Aug 11 17:50:00 GMT 2009


gcc.dg/tortore/builtin-math-5.c

  /* Check for overflow/underflow.  */
  TESTIT (cexp, 1e20);
  TESTIT (cexp, -1e20);

produces

  foof (__builtin_cexpf (__complex__ (1.00000002004087734272e+20, 0.0)));
  foo (__builtin_cexp (__complex__ (1.0e+20, 0.0)));
  fool (__builtin_cexpl (__complex__ (1.0e+20, 0.0)));
  foof (__complex__ (0.0, 0.0));
  foo (__complex__ (0.0, 0.0));
  fool (__complex__ (0.0, 0.0));

underflow for -1e20 test.


-- 
           Summary: AIX cexp builtin underflow
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dje at gcc dot gnu dot org
 GCC build triplet: power-ibm-aix
  GCC host triplet: powerpc-ibm-aix
GCC target triplet: power-ibm-aix


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



More information about the Gcc-bugs mailing list