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
2 changed files with 7 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue