Commit cf56e373 by David Billinghurst Committed by David Billinghurst

re PR c/6277 (Failure of test gcc.dg/i386-387-1.c on cygwin)

2002-04-14  David Billinghurst <David.Billinghurst@riotinto.com>

	PR c/6277
	* gcc.dg/i386-387-1.c:  Allow optional leading underscore
	in scan-assembler function name

From-SVN: r52292
parent 8bc87916
2002-04-13 David Billinghurst <David.Billinghurst@riotinto.com>
PR c/6277
* gcc.dg/i386-387-1.c: Allow optional leading underscore
in scan-assembler function name
2002-04-13 Hans-Peter Nilsson <hp@bitrange.com> 2002-04-13 Hans-Peter Nilsson <hp@bitrange.com>
* g77.f-torture/execute/980628-4.x, * g77.f-torture/execute/980628-4.x,
......
/* Verify that -mno-fancy-math-387 works. */ /* Verify that -mno-fancy-math-387 works. */
/* { dg-do compile { target "i?86-*-*" } } */ /* { dg-do compile { target "i?86-*-*" } } */
/* { dg-options "-O -ffast-math -mfpmath=387 -mno-fancy-math-387" } */ /* { dg-options "-O -ffast-math -mfpmath=387 -mno-fancy-math-387" } */
/* { dg-final { scan-assembler "call\tsin" } } */ /* { dg-final { scan-assembler "call\t_?sin" } } */
/* { dg-final { scan-assembler "call\tcos" } } */ /* { dg-final { scan-assembler "call\t_?cos" } } */
/* { dg-final { scan-assembler "call\tsqrt" } } */ /* { dg-final { scan-assembler "call\t_?sqrt" } } */
double f1(double x) { return __builtin_sin(x); } double f1(double x) { return __builtin_sin(x); }
double f2(double x) { return __builtin_cos(x); } double f2(double x) { return __builtin_cos(x); }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment