wo_prof_global_var.c: Use uninitialized integer values instead of uninitialized FP values to avoid NaNs.
* gcc.gd/struct/wo_prof_global_var.c: Use uninitialized integer values instead of uninitialized FP values to avoid NaNs. * gcc.dg/struct/wo_prof_local_var.c: Same. From-SVN: r141998
This commit is contained in:
parent
0fd2f9fbea
commit
681afbeab6
3 changed files with 10 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
|||
2008-11-19 Maxim Kuvyrkov <maxim@codesourcery.com>
|
||||
|
||||
* gcc.gd/struct/wo_prof_global_var.c: Use uninitialized integer
|
||||
values instead of uninitialized FP values to avoid NaNs.
|
||||
* gcc.dg/struct/wo_prof_local_var.c: Same.
|
||||
|
||||
2008-11-19 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* gfortran.dg/f2003_io_1.f03: XFAIL for all SPARC targets.
|
||||
|
|
|
@ -32,10 +32,10 @@ main ()
|
|||
p[i].b = i;
|
||||
|
||||
for (i = 0; i < N; i++)
|
||||
p[i].a = p[i].b + 1;
|
||||
p[i].b = p[i].a + 1;
|
||||
|
||||
for (i = 0; i < N; i++)
|
||||
if (p[i].a != p[i].b + 1)
|
||||
if (p[i].b != p[i].a + 1)
|
||||
abort ();
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -30,10 +30,10 @@ main ()
|
|||
p[i].b = i;
|
||||
|
||||
for (i = 0; i < N; i++)
|
||||
p[i].a = p[i].b + 1;
|
||||
p[i].b = p[i].a + 1;
|
||||
|
||||
for (i = 0; i < N; i++)
|
||||
if (p[i].a != p[i].b + 1)
|
||||
if (p[i].b != p[i].a + 1)
|
||||
abort ();
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue