[FYI v3 5/8] Add support for the Rust language

Ulrich Weigand uweigand@de.ibm.com
Wed May 18 16:21:00 GMT 2016


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



More information about the Gdb-patches mailing list