[llvm-commits] llvm-gcc: use array_ref_element_size when emitting an ARRAY_REF
Duncan Sands
baldrick at free.fr
Fri Mar 9 01:56:06 PST 2007
The array element type doesn't always have a known size, which is why the
ARRAY_REF supplies the size, extractable with array_ref_element_size. Fix
and Ada testcase attached.
Ciao,
Duncan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: array_ref.diff
Type: text/x-diff
Size: 1180 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20070309/96cd443f/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: array_ref_test.diff
Type: text/x-diff
Size: 545 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20070309/96cd443f/attachment-0001.diff>
More information about the llvm-commits
mailing list