On Fri, Jun 6, 2014 at 10:07 AM, Uros Bizjak <ubiz...@gmail.com> wrote: > On Fri, Jun 6, 2014 at 9:47 AM, Uros Bizjak <ubiz...@gmail.com> wrote: > >>> 2014-05-28 Richard Biener <rguent...@suse.de> >>> >>> PR tree-optimization/61335 >>> * tree-vrp.c (vrp_visit_phi_node): If the compare of old and >>> new range fails, drop to varying. >>> >>> * gfortran.dg/pr61335.f90: New testcase. >> >> This testcase triggers SIGFPE on alpha due to the use of denormal >> operand. Maybe uninitialized value is used in line 48? > > SIGFPE also triggers at the same place on x86_64 with unmasked FPE > exceptions (compile with -O0).
Attached patch initializes problematic array to zero instead of uninitialized value. 2014-06-17 Uros Bizjak <ubiz...@gmail.com> * gfortran.dg/pr61335.f90 (cp_unit_create): Initialize unit_id and kind_id to zero. Tested on alphaev68-linux-gnu and x86_64-linux-gnu. OK for mainline? Uros. Index: gfortran.dg/pr61335.f90 =================================================================== --- gfortran.dg/pr61335.f90 (revision 211723) +++ gfortran.dg/pr61335.f90 (working copy) @@ -45,8 +45,8 @@ LOGICAL :: failure failure=.FALSE. - unit_id=cp_units_none - kind_id=cp_ukind_none + unit_id=0 + kind_id=0 power=0 i_low=1 i_high=1