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: [FYI v3 5/8] Add support for the Rust language


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


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