Re: [llvm-commits] llvm-gcc: take object size from target, not source, in VIEW_CONVERT_EXPR

2007-03-14 Thread Devang Patel
On Mar 8, 2007, at 4:35 AM, Duncan Sands wrote: VIEW_CONVERT_EXPR is sometimes used as a way of specifying the size of an object when the size would otherwise be unknown. In the (Ada) testcase an array, the type of which involves placeholder expressions, is view converted to an array type

[llvm-commits] llvm-gcc: take object size from target, not source, in VIEW_CONVERT_EXPR

2007-03-08 Thread Duncan Sands
VIEW_CONVERT_EXPR is sometimes used as a way of specifying the size of an object when the size would otherwise be unknown. In the (Ada) testcase an array, the type of which involves placeholder expressions, is view converted to an array type with length 2 (the compiler knows it has length 2, but