This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Expand fortran array bounds sizes to LONGEST


Hi Siddhesh,

On Tue, 21 Aug 2012 11:55:40 +0200, Siddhesh Poyarekar wrote:
> Attached patch does this expansion and also includes a test case that
> verifies that the problem is fixed. I have also verified on x86_64 that
> this patch does not cause any regressions.
[...]
> 	* gdb.fortran/array-bounds.exp: New test case.
> 	* gdb.fortran/array-bounds.f: New test case.
[...]
> +        dimension foo(4294967296:4294967297)
> +        dimension bar(-4294967297:-4294967296)

Sergio has found it FAILS with 32-bit i386 target (even on x86_64 with -m32).

I have filed for it now:
	Invalid debug/ array bounds w/-fno-range-check and 32-bit target
	http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54934

It should be at least XFAILed for 32-bit targets.  If GCC accepts it as
a valid bug GDB should provide a hand-modified pre-compiled .S file for i386.

One should re-check the GCC Bug state before checking this GDB part it.


Thanks,
Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]