re PR fortran/58027 ("Arithmetic overflow converting ..." in PARAMETER triggers an...
authorSteven G. Kargl <kargl@gcc.gnu.org>
Mon, 16 Nov 2015 19:15:25 +0000 (19:15 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Mon, 16 Nov 2015 19:15:25 +0000 (19:15 +0000)
commit3e6ab828444aad891d84bf68ba02581fba28f80b
tree2f76e62ebe94837692b499bbd906106f2f58d12b
parenta868811ee5cbec135266c1cce7b2defb5e2c6bf4
re PR fortran/58027 ("Arithmetic overflow converting ..." in PARAMETER triggers an ICE)

2015-11-16  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/58027
PR fortran/60993
* expr.c (gfc_check_init_expr): Prevent a redundant check when a
__convert_* function was inserted into an array constructor.
(gfc_check_assign_symbol): Check for an initialization expression
when a __convert_* was inserted.

2015-11-16  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/58027
PR fortran/60993
* gfortran.dg/pr58027.f90: New test.

From-SVN: r230433
gcc/fortran/ChangeLog
gcc/fortran/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr58027.f90 [new file with mode: 0644]