re PR target/29302 (isfinite returns wrong result at -O1)

2006-12-19  Eric Christopher  <echristo@apple.com>

        PR target/29302
        * gcc.c-torture/execute/pr29302-1.c: New.

From-SVN: r120058
This commit is contained in:
Eric Christopher 2006-12-19 20:25:49 +00:00
parent 23572654a2
commit 1efff0b6cf
2 changed files with 29 additions and 8 deletions

View File

@ -1,3 +1,8 @@
2006-12-19 Eric Christopher <echristo@apple.com>
PR target/29302
* gcc.c-torture/execute/pr29302-1.c: New.
2006-12-19 Tobias Burnus <burnus@net-b.de>
PR fortran/39238

View File

@ -0,0 +1,16 @@
extern void abort (void);
int main (void)
{
int n;
long double x;
x = 1/0.0;
n = (x == 1/0.0);
if (n == 1)
return 0;
else
abort ();
}