This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/66167] Scalar Storage Order attribute has no effect on 2 dimensional arrays
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 16 May 2015 20:15:34 +0000
- Subject: [Bug ada/66167] Scalar Storage Order attribute has no effect on 2 dimensional arrays
- Auto-submitted: auto-generated
- References: <bug-66167-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66167
--- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Sat May 16 20:15:01 2015
New Revision: 223251
URL: https://gcc.gnu.org/viewcvs?rev=223251&root=gcc&view=rev
Log:
PR ada/66167
ada/
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Set
TYPE_REVERSE_STORAGE_ORDER on the innermost array.
<E_Array_Subtype>: Likewise.
testsuite/
* gnat.dg/sso/init12.ads: New helper.
* gnat.dg/sso/p12.adb: New test.
* gnat.dg/sso/q12.adb: Likewise.
* gnat.dg/sso/r12.adb: Likewise.
* gnat.dg/sso/s12.adb: Likewise.
* gnat.dg/sso/t12.adb: Likewise.
Added:
branches/scalar-storage-order/gcc/testsuite/gnat.dg/sso/init12.ads
branches/scalar-storage-order/gcc/testsuite/gnat.dg/sso/p12.adb
branches/scalar-storage-order/gcc/testsuite/gnat.dg/sso/q12.adb
branches/scalar-storage-order/gcc/testsuite/gnat.dg/sso/r12.adb
branches/scalar-storage-order/gcc/testsuite/gnat.dg/sso/s12.adb
branches/scalar-storage-order/gcc/testsuite/gnat.dg/sso/t12.adb
Modified:
branches/scalar-storage-order/gcc/ada/gcc-interface/decl.c