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:
parent
23572654a2
commit
1efff0b6cf
|
@ -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
|
||||
|
|
|
@ -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 ();
|
||||
}
|
Loading…
Reference in New Issue