[Bug fortran/92018] ICE in gfc_conv_constant_to_tree, at fortran/trans-const.c:370
kargl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Oct 11 17:53:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92018
--- Comment #1 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Fri Oct 11 17:52:27 2019
New Revision: 276898
URL: https://gcc.gnu.org/viewcvs?rev=276898&root=gcc&view=rev
Log:
2019-10-11 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/92018
* check.c (reset_boz): New function.
(illegal_boz_arg, boz_args_check, gfc_check_complex, gfc_check_float,
gfc_check_transfer): Use it.
(gfc_check_dshift): Use reset_boz, and re-arrange the checking to
help suppress possible run-on errors.
(gfc_check_and): Restore checks for valid argument types. Use
reset_boz, and re-arrange the checking to help suppress possible
un-on errors.
* resolve.c (resolve_function): Actual arguments cannot be BOZ in
a function reference.
2019-10-11 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/92018
* gfortran.dg/gnu_logical_2.f90: Update dg-error regex.
* gfortran.dg/pr81509_2.f90: Ditto.
* gfortran.dg/pr92018.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/pr92018.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/check.c
trunk/gcc/fortran/resolve.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/gnu_logical_2.f90
trunk/gcc/testsuite/gfortran.dg/pr81509_2.f90
More information about the Gcc-bugs
mailing list