[llvm-commits] [llvm-gcc-4.2] r69795 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
Chris Lattner
clattner at apple.com
Wed Apr 22 22:51:08 PDT 2009
On Apr 22, 2009, at 2:28 AM, Duncan Sands wrote:
> Author: baldrick
> Date: Wed Apr 22 04:27:52 2009
> New Revision: 69795
>
> URL: http://llvm.org/viewvc/llvm-project?rev=69795&view=rev
> Log:
> Chris's new record constructor code broke the x86-32
> Ada build because it doesn't handle the case when the
> size of a field is less than the size of the type of
> the field. Fix by truncating the initial value in this
> case. It may be that this is only valid if the discarded
> bits are zero, but I'm not sure so I didn't add a check
> for this.
Hi Duncan,
Thanks for doing this. Do you have a testcase? Is this right on big-
endian systems?
-Chris
More information about the llvm-commits
mailing list