This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Expand fortran array bounds sizes to LONGEST
- From: Siddhesh Poyarekar <siddhesh at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 21 Aug 2012 16:41:51 +0530
- Subject: Re: [PATCH] Expand fortran array bounds sizes to LONGEST
- References: <20120821152540.013b4d99@spoyarek>
On Tue, 21 Aug 2012 15:25:40 +0530, Siddhesh wrote:
> Range bounds for a gdb type can have LONGEST values for low and high
> bounds. Fortran range bounds functions however use only int. The
> larger ranges don't compile by default on gcc, but it is possible to
> override the check in the compiler by using -fno-range-check. As a
> result, this check is necessary so that we don't print junk in case
> of an overflow.
Sorry, I forgot to mention that this goes on top of the bitpos patch
since it needs some changes from the bitpos patch as well.
Regards,
Siddhesh