This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/77327] AddressSanitizer: heap-use-after-free gcc-trunk-239276/gcc/fortran/interface.c:403 in compare_components
- From: "zeccav at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 25 Aug 2016 05:22:48 +0000
- Subject: [Bug fortran/77327] AddressSanitizer: heap-use-after-free gcc-trunk-239276/gcc/fortran/interface.c:403 in compare_components
- Auto-submitted: auto-generated
- References: <bug-77327-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77327
--- Comment #5 from Vittorio Zecca <zeccav at gmail dot com> ---
The test case you propose, dec_structure_13.f90, does not trigger the asan
memory checker.
As I wrote before, the test case gfortran.dg/import4.f90 does trigger
the asan memory checker.
In your test case I do not understand the final statement "call
sub2(u2)" because
sub2 is not defined.