[Bug fortran/41922] Diagnostic: No location shown for overlappingly initialized EQUIVALENCEd character vars
kargl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jul 31 01:52:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41922
--- Comment #4 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Sun Jul 31 01:51:37 2016
New Revision: 238915
URL: https://gcc.gnu.org/viewcvs?rev=238915&root=gcc&view=rev
Log:
2016-07-30 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/41922
* target-memory.c (expr_to_char): Pass in locus and use it in error
messages.
(gfc_merge_initializers): Ditto.
* target-memory.h: Update prototype for gfc_merge_initializers ().
* trans-common.c (get_init_field): Use the correct locus.
2016-07-30 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/41922
* gfortran.dg/equiv_constraint_5.f90: Adjust the error message.
* gfortran.dg/equiv_constraint_7.f90: Ditto.
* gfortran.dg/pr41922.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/pr41922.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/target-memory.c
trunk/gcc/fortran/target-memory.h
trunk/gcc/fortran/trans-common.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/equiv_constraint_5.f90
trunk/gcc/testsuite/gfortran.dg/equiv_constraint_7.f90
More information about the Gcc-bugs
mailing list