This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [V4 00/21] Fortran dynamic array support
- From: Bernhard Heckel <bernhard dot heckel at intel dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: "Weinmann, Christoph T" <christoph dot t dot weinmann at intel dot com>, gdb-patches at sourceware dot org
- Date: Wed, 14 Sep 2016 09:24:15 +0200
- Subject: Re: [V4 00/21] Fortran dynamic array support
- Authentication-results: sourceware.org; auth=none
- References: <20160716151837.GA797@host1.jankratochvil.net> <88072818E0A3D742B2B1AF16BBEC65A7263F0988@IRSMSX107.ger.corp.intel.com> <20160816135920.GA26624@host1.jankratochvil.net> <57B6D831.4080605@intel.com> <20160821170346.GA21909@host1.jankratochvil.net> <57BC50D1.4020102@intel.com> <20160825170626.GA29717@host1.jankratochvil.net> <57C9822F.1020800@intel.com> <20160904171453.GA1069@host1.jankratochvil.net> <57CFEBF2.1050707@intel.com> <20160912210453.GA32414@host1.jankratochvil.net>
On 12/09/2016 23:04, Jan Kratochvil wrote:
On Wed, 07 Sep 2016 12:29:06 +0200, Bernhard Heckel wrote:
I just recreated my two user branches.
I see a regression against former Intel VLA patchset for the attached testcase.
gdb_test "p c40pt(2)" " = '1-hello.*"
p c40pt(2)^M
$2 = '\001\000\000\000\061-hello', ' ' <repeats 29 times>^M
(gdb) FAIL: gdb.fortran/dwarf-stride.exp: p c40pt(2)
Thanks,
Jan
Hi Jan,
I tested with GCC 4.8.3 and IFORT 17.0.0. Both passes.
With Fedora24, GCC 6.1.1 I see the same results as you. Investigation is
showing that
GCC 6.1.1 doesn't provide the stride information (DWARF) which results
in incorrect offsets.
Are you going to file a bug for GCC?
BTW: Nice testcase
Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Christian Lamprechter
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928