[Bug ada/63725] Scalar_Storage_Order and nested string subtypes

2014-11-06 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63725 Eric Botcazou ebotcazou at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug ada/63725] Scalar_Storage_Order and nested string subtypes

2014-11-06 Thread daniel.merrill at psware dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63725 --- Comment #2 from Dan Merrill daniel.merrill at psware dot com --- Is this what you are proposing? type string_type is new string (1..15); for string_type'Scalar_Storage_Order use System.High_Order_First; type string_array is array

[Bug ada/63725] Scalar_Storage_Order and nested string subtypes

2014-11-06 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63725 --- Comment #3 from Eric Botcazou ebotcazou at gcc dot gnu.org --- That seems to work, but in a non trivial case doesn't that make string_type non inter operable with other string types? Interoperability should be preserved modulo minor