summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gnat.dg/array16_pkg.ads
Commit message (Collapse)AuthorAgeFilesLines
* * einfo.ads (Size_Depends_On_Discriminant): Adjust description.ebotcazou2011-03-241-0/+5
* layout.adb (Compute_Size_Depends_On_Discriminant): New procedure to compute Set_Size_Depends_On_Discriminant. (Layout_Type): Call it on array types in back-end layout mode. * sem_util.adb (Requires_Transient_Scope): Return true for array types only if the size depends on the value of discriminants. * gcc-interface/utils2.c (build_binary_op) <MODIFY_EXPR>: Use the RHS type if the RHS is a call to a function that returns an unconstrained type with default discriminant. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171402 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud