This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [FYI v3 5/8] Add support for the Rust language
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: tom at tromey dot com (Tom Tromey)
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 18 May 2016 18:21:09 +0200 (CEST)
- Subject: Re: [FYI v3 5/8] Add support for the Rust language
- Authentication-results: sourceware.org; auth=none
Tom Tromey wrote:
> >>>>> "Ulrich" == Ulrich Weigand <uweigand@de.ibm.com> writes:
>
> Ulrich> This causes a build failure on my RHEL5 daily build for SPU,
> Ulrich> which uses a GCC 4.1 host compiler:
>
> Ulrich> gdb/rust-lang.c: In function 'value* rust_subscript(expression*, int*,
> Ulrich> noside, int)':
> Ulrich> gdb/rust-lang.c:1311: warning: 'high' may be used uninitialized in this function
>
> Could you try the appended? If it works for you I will check it in.
Yes, this fixes the problem for me.
Thanks,
Ulrich
--
Dr. Ulrich Weigand
GNU/Linux compilers and toolchain
Ulrich.Weigand@de.ibm.com