diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2011-03-24 16:08:50 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2011-03-24 16:08:50 +0000 |
commit | e3c4580e400367dfceec3e4c0539b43fcb4ed340 (patch) | |
tree | b9005d8dcb786199a152d4e3d91717ba40010452 /gcc/fold-const.c | |
parent | cf4a36dfe1135dce070ac1d5a570e00a3eaac0be (diff) | |
download | gcc-e3c4580e400367dfceec3e4c0539b43fcb4ed340.zip gcc-e3c4580e400367dfceec3e4c0539b43fcb4ed340.tar.gz gcc-e3c4580e400367dfceec3e4c0539b43fcb4ed340.tar.bz2 |
einfo.ads (Size_Depends_On_Discriminant): Adjust description.
* einfo.ads (Size_Depends_On_Discriminant): Adjust description.
* 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.
From-SVN: r171402
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions