2016-09-04 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/77460
* simplify.c (simplify_transformation_to_scalar): On error, result
may be NULL, simply return.
2016-09-04 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/77460
* gfortran.dg/pr77460.f90: New test.
From-SVN: r239979
+2016-09-04 Steven G. Kargl <kargl@gcc.gnu.org>
+
+ PR fortran/77460
+ * simplify.c (simplify_transformation_to_scalar): On error, result
+ may be NULL, simply return.
+
2016-08-31 Jakub Jelinek <jakub@redhat.com>
PR fortran/77352
}
result = op (result, gfc_copy_expr (a));
+ if (!result)
+ return result;
}
return result;
+2016-09-04 Steven G. Kargl <kargl@gcc.gnu.org>
+
+ PR fortran/77460
+ * gfortran.dg/pr77460.f90: New test.
+
2016-09-03 Jakub Jelinek <jakub@redhat.com>
PR c/65467
--- /dev/null
+! { dg-do compile }
+ double precision, parameter :: x = huge(1d0)
+ print*, sum((/x,-x/))
+ print*, sum((/x,x,-x,-x/)) ! { dg-error "overflow" }
+ print*, sum((/x,-x,1d0/))
+ print*, sum((/1d0,x,-x/))
+end