RE: [PATCH] Fix FFI return type for proxy classes

2016-07-13 Thread Matthew Fortune
Tom Tromey writes: > > "Matthew" == Matthew Fortune writes: > > Matthew> Tested on: x86_64-pc-linux-gnu (default and -m32), mips-linux-gnu > Matthew> mipsel-linux-gnuabi64 with no regressions. The new test only failed > Matthew> on mips-linux-gnu

Re: [PATCH] Fix FFI return type for proxy classes

2016-07-12 Thread Tom Tromey
> "Matthew" == Matthew Fortune writes: Matthew> Tested on: x86_64-pc-linux-gnu (default and -m32), mips-linux-gnu Matthew> mipsel-linux-gnuabi64 with no regressions. The new test only failed Matthew> on mips-linux-gnu prior to patching libjava. Matthew> libjava/

[PATCH] Fix FFI return type for proxy classes

2016-07-12 Thread Matthew Fortune
Hi, As mentioned in: https://gcc.gnu.org/ml/gcc-patches/2016-06/msg01827.html there is a bug in lang/reflect/natVMProxy.cc where the return types are not promoted to ffi_arg for integer types smaller than a word. This bug will not show up on little endian architectures as the issue gets fixed