This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 3/3] fort_dyn_array: Use value constructor instead of raw-buffer manipulation.
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Bernhard Heckel <bernhard dot heckel at intel dot com>
- Cc: brobecker at adacore dot com, gdb-patches at sourceware dot org, Keven Boell <keven dot boell at intel dot com>
- Date: Mon, 04 Apr 2016 14:54:11 +0100
- Subject: Re: [PATCH 3/3] fort_dyn_array: Use value constructor instead of raw-buffer manipulation.
- Authentication-results: sourceware.org; auth=none
- References: <1458204189-13267-1-git-send-email-bernhard dot heckel at intel dot com> <1458204189-13267-4-git-send-email-bernhard dot heckel at intel dot com>
Bernhard Heckel <bernhard.heckel@intel.com> writes:
> Instead of pre-computing indices into a fortran array re-use
> the value_* interfaces to subscript a fortran array.
Hi, can you elaborate a little please? It looks like change to new
interface, but why does this fix the bug? because value_* interfaces
have been aware of dynamic type?
--
Yao (éå)