mirror of git://gcc.gnu.org/git/gcc.git
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:
parent
b1cef2a542
commit
3a20d87c69
|
|
@ -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>
|
2012-02-15 Georg-Johann Lay <avr@gjlay.de>
|
||||||
|
|
||||||
* gcc.dg/lto/20091013-1_1.c: xfail for avr.
|
* gcc.dg/lto/20091013-1_1.c: xfail for avr.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
/* { dg-do compile } */
|
/* { dg-do compile } */
|
||||||
/* { dg-options "-O0 -fno-math-errno -fdump-rtl-expand" } */
|
/* { dg-options "-O0 -fno-math-errno -fdump-rtl-expand" } */
|
||||||
#include <math.h>
|
|
||||||
|
extern float sqrtf(float);
|
||||||
|
|
||||||
float a(float x)
|
float a(float x)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue