Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/builtins-59.c   -fdump-tree-gimple
-fno-show-column -S  -o builtins-59.s    (timeout = 300)
PASS: gcc.dg/builtins-59.c (test for excess errors)
FAIL: gcc.dg/builtins-59.c scan-tree-dump __builtin_cexpi
FAIL: gcc.dg/builtins-59.c scan-tree-dump-not sincos

Related fails are:

Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/builtins-61.c   -O -ffast-math
-fdump-tree-optimized -fno-show-column -S  -o builtins-61.s    (timeout = 300)
PASS: gcc.dg/builtins-61.c (test for excess errors)
FAIL: gcc.dg/builtins-61.c scan-tree-dump cexpi
FAIL: gcc.dg/builtins-61.c scan-tree-dump sin
FAIL: gcc.dg/builtins-61.c scan-tree-dump cos
FAIL: gcc.dg/builtins-61.c scan-tree-dump return 0.0
Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/
/test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/builtins-62.c   -O -ffinite-math-only
-fdump-tree-optimized -fno-show-column -S  -o builtins-62.s    (timeout = 300)
PASS: gcc.dg/builtins-62.c (test for excess errors)
FAIL: gcc.dg/builtins-62.c scan-tree-dump-times cexpi 3

The builtins-59.c and builtins-61 fails were introduced in their current
form between revision 121100 and 121219.  The tests initially started failing
after revision 120836.

The tree dump for builtin-59.c looks like:

test (x)
{
  double D.1590;
  double s___0;
  double c___1;
  double s;
  double c;

  __builtin_sincos (x, &s, &c);
  s___0 = s;
  c___1 = c;
  D.1590 = s___0 + c___1;
  return D.1590;
}

For builtins-61.c,

;; Function test3 (test3)

Analyzing Edge Insertions.
test3 (x)
{
  complex double c;

<bb 2>:
  c = __builtin_cexp (COMPLEX_EXPR <-0.0, x>);
  return REALPART_EXPR <c> + IMAGPART_EXPR <c>;

}



;; Function test2 (test2)

Analyzing Edge Insertions.
test2 (x)
{
<bb 2>:
  return IMAGPART_EXPR <__builtin_cexp (COMPLEX_EXPR <-0.0, x>)>;

}



;; Function test1 (test1)

Analyzing Edge Insertions.
test1 (x)
{
<bb 2>:
  return REALPART_EXPR <__builtin_cexp (COMPLEX_EXPR <-0.0, x>)>;

}



;; Function test4 (test4)

Analyzing Edge Insertions.
test4 (x, y)
{
<bb 2>:
  return __builtin_exp (x) - REALPART_EXPR <__builtin_cexp (COMPLEX_EXPR <x,
0.0>)>;

}

and for builtins-62.c

;; Function test4 (test4)

Analyzing Edge Insertions.
test4 (x)
{
<bb 2>:
  return __builtin_sin (x * 2.0e+0);

}



;; Function test3 (test3)

Analyzing Edge Insertions.
test3 (x, b)
{
<bb 2>:
  if (b != 0) goto <L0>; else goto <L1>;

<L0>:;
  x = x * 2.0e+0;

<L1>:;
  return __builtin_sin (x) + __builtin_cos (x);

}



;; Function test2 (test2)

Analyzing Edge Insertions.
test2 (x)
{
  double x___73;

<bb 2>:
  x___73 = x * 2.0e+0;
  return __builtin_sin (x___73) + __builtin_cos (x___73);

}



;; Function test1 (test1)

Analyzing Edge Insertions.
test1 (x)
{
<bb 2>:
  return __builtin_sin (x) + __builtin_cos (x);

}


-- 
           Summary: FAIL: gcc.dg/builtins-59.c on PA HP-UX
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa*-*-hpux*
  GCC host triplet: hppa*-*-hpux*
GCC target triplet: hppa*-*-hpux*


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

Reply via email to