Directly declare sqrtf in gcc.dg/pr51867.c

* gcc.dg/pr51867.c: Don't include <math.h>.
	(sqrtf): Declare.

From-SVN: r184279
This commit is contained in:
Rainer Orth 2012-02-15 18:18:38 +00:00 committed by Rainer Orth
parent b1cef2a542
commit 3a20d87c69
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-02-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* gcc.dg/pr51867.c: Don't include <math.h>.
(sqrtf): Declare.
2012-02-15 Georg-Johann Lay <avr@gjlay.de>
* gcc.dg/lto/20091013-1_1.c: xfail for avr.

View file

@ -1,6 +1,7 @@
/* { dg-do compile } */
/* { dg-options "-O0 -fno-math-errno -fdump-rtl-expand" } */
#include <math.h>
extern float sqrtf(float);
float a(float x)
{