diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2009-08-25 15:02:19 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2009-08-25 15:02:19 +0000 |
commit | f76d6e6f37b2411477583ecf6f878241883ef7d0 (patch) | |
tree | f7857a6dd43c7cecbaa9c1e23de6832efeed3ba3 /gcc/testsuite/gnat.dg/slice7_pkg.ads | |
parent | 23878536a6b359865599d300c214bbb8fef83a43 (diff) | |
download | gcc-f76d6e6f37b2411477583ecf6f878241883ef7d0.tar.gz |
gimplify.c (prepare_gimple_addressable): New static function.
* gimplify.c (prepare_gimple_addressable): New static function.
(gimplify_modify_expr_to_memcpy): Invoke it on the RHS before marking
it addressable.
(gimplify_addr_expr): Invoke it similarly on the operand instead of
manually fiddling with it.
ada/
* gcc-interface/trans.c (call_to_gnu): Tidy.
(gnat_to_gnu) <N_Slice>: Set TYPE_ARRAY_MAX_SIZE if the slice has
non-constant size but the array itself has constant size.
* gcc-interface/utils.c (convert_vms_descriptor64): Fix type
consistency error.
(convert_vms_descriptor32): Likewise.
From-SVN: r151082
Diffstat (limited to 'gcc/testsuite/gnat.dg/slice7_pkg.ads')
-rw-r--r-- | gcc/testsuite/gnat.dg/slice7_pkg.ads | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/testsuite/gnat.dg/slice7_pkg.ads b/gcc/testsuite/gnat.dg/slice7_pkg.ads new file mode 100644 index 00000000000..3c2f4a177c7 --- /dev/null +++ b/gcc/testsuite/gnat.dg/slice7_pkg.ads @@ -0,0 +1,7 @@ +with System.Storage_Elements; use System.Storage_Elements; + +package Slice7_Pkg is + + procedure Put (The_Object : in Storage_Array); + +end Slice7_Pkg; |