summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gnat.dg/array16.ads
Commit message (Collapse)AuthorAgeFilesLines
* * gnat.dg/opt20.ads: Move dg directive to...ebotcazou2012-09-201-6/+0
| | | | | | | | | | | | | | | | | | * gnat.dg/opt20.adb: ...here. * gnat.dg/addr1.ad[sb]: Likewise. * gnat.dg/concat2.ad[sb]: Likewise. * gnat.dg/array16.ad[sb]: Likewise. * gnat.dg/atomic5.ad[sb]: Likewise. * gnat.dg/discr29.ad[sb]: Likewise. * gnat.dg/noreturn5.ad[sb]: Likewise. * gnat.dg/vect8.ad[sb]: Likewise. Add dg-options. * gnat.dg/discr23.ads: Remove dg directive. * gnat.dg/nested_float_packed.ads: Likewise. * gnat.dg/oconst6.ads: Move to... * gnat.dg/specs/oconst6.ads: ...here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191592 138bc75d-0d04-0410-961f-82ee72b054a4
* * einfo.ads (Size_Depends_On_Discriminant): Adjust description.ebotcazou2011-03-241-0/+31
* 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