From: David Billinghurst Date: Sun, 14 Apr 2002 11:52:25 +0000 (+0000) Subject: re PR c/6277 (Failure of test gcc.dg/i386-387-1.c on cygwin) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cf56e373c4b75dd96e6521637217d47261cb6b8f;p=gcc.git re PR c/6277 (Failure of test gcc.dg/i386-387-1.c on cygwin) 2002-04-14 David Billinghurst PR c/6277 * gcc.dg/i386-387-1.c: Allow optional leading underscore in scan-assembler function name From-SVN: r52292 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 776f1fc11c6..f5a4d127039 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2002-04-13 David Billinghurst + + PR c/6277 + * gcc.dg/i386-387-1.c: Allow optional leading underscore + in scan-assembler function name + 2002-04-13 Hans-Peter Nilsson * g77.f-torture/execute/980628-4.x, diff --git a/gcc/testsuite/gcc.dg/i386-387-1.c b/gcc/testsuite/gcc.dg/i386-387-1.c index 2c9334b0182..8fa4cba64a4 100644 --- a/gcc/testsuite/gcc.dg/i386-387-1.c +++ b/gcc/testsuite/gcc.dg/i386-387-1.c @@ -1,9 +1,9 @@ /* Verify that -mno-fancy-math-387 works. */ /* { dg-do compile { target "i?86-*-*" } } */ /* { dg-options "-O -ffast-math -mfpmath=387 -mno-fancy-math-387" } */ -/* { dg-final { scan-assembler "call\tsin" } } */ -/* { dg-final { scan-assembler "call\tcos" } } */ -/* { dg-final { scan-assembler "call\tsqrt" } } */ +/* { dg-final { scan-assembler "call\t_?sin" } } */ +/* { dg-final { scan-assembler "call\t_?cos" } } */ +/* { dg-final { scan-assembler "call\t_?sqrt" } } */ double f1(double x) { return __builtin_sin(x); } double f2(double x) { return __builtin_cos(x); }