This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/66167] New: Scalar Storage Order attribute has no effect on 2 dimensional arrays
- From: "daniel.merrill at psware dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 15 May 2015 20:32:50 +0000
- Subject: [Bug ada/66167] New: Scalar Storage Order attribute has no effect on 2 dimensional arrays
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66167
Bug ID: 66167
Summary: Scalar Storage Order attribute has no effect on 2
dimensional arrays
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ada
Assignee: unassigned at gcc dot gnu.org
Reporter: daniel.merrill at psware dot com
Target Milestone: ---
running on a little endian machine with a scalar storage order of
High_Order_First does not byte swap the values when accessed through a 2
dimensional array i.e. type foo is array (foo_range, bar_range) of float. I can
provide an example program if that will help reproduce the issue. Thanks.