r151082 - in /trunk/gcc: ChangeLog ada/ChangeLo...

ebotcazou@gcc.gnu.org ebotcazou@gcc.gnu.org
Tue Aug 25 15:02:00 GMT 2009


Author: ebotcazou
Date: Tue Aug 25 15:02:19 2009
New Revision: 151082

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151082
Log:
	* 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.

Added:
    trunk/gcc/testsuite/gnat.dg/slice7.adb
    trunk/gcc/testsuite/gnat.dg/slice7_pkg.ads
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/gcc-interface/trans.c
    trunk/gcc/ada/gcc-interface/utils.c
    trunk/gcc/gimplify.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list