[Bug fortran/77327] AddressSanitizer: heap-use-after-free gcc-trunk-239276/gcc/fortran/interface.c:403 in compare_components
foreese at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Aug 29 12:25:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77327
--- Comment #9 from foreese at gcc dot gnu.org ---
Author: foreese
Date: Mon Aug 29 12:24:25 2016
New Revision: 239819
URL: https://gcc.gnu.org/viewcvs?rev=239819&root=gcc&view=rev
Log:
2016-08-29 Fritz Reese <fritzoreese@gmail.com>
Fix, reorganize, and clarify comparisons of anonymous types/components.
PR fortran/77327
* interface.c (is_anonymous_component, is_anonymous_dt): New functions.
* interface.c (compare_components, gfc_compare_derived_types): Use new
functions.
* gfortran.dg/dec_structure_13.f90: New testcase.
Added:
trunk/gcc/testsuite/gfortran.dg/dec_structure_13.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/interface.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list