[llvm-commits] llvm-gcc: fix type of VIEW_CONVERT_EXPR lvalue

Duncan Sands baldrick at free.fr
Wed Mar 14 16:02:07 PDT 2007


The address of a VIEW_CONVERT_EXPR is the address of its
operand, but the type is the type of the expression.  The
current code gets the address right but the type wrong.
Fix and Ada testcase attached.

Duncan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vce_lv.diff
Type: text/x-diff
Size: 2223 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20070315/00d23264/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vce_lv_test.diff
Type: text/x-diff
Size: 472 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20070315/00d23264/attachment-0001.diff>


More information about the llvm-commits mailing list