]> git.ipfire.org Git - thirdparty/gcc.git/commit
expr.c (expand_expr_real_1): Do not unnecessarily copy the object in the MEM_P case.
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 15 Oct 2012 10:48:17 +0000 (10:48 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 15 Oct 2012 10:48:17 +0000 (10:48 +0000)
commit9506aecb3b05c1a9f1f04760fc5320acbfc283b1
treecf71a31c094d976a5684e5387e5079bfd0807bb6
parent0127aae46a182abeadf7419088ad85c9ba5bffc8
expr.c (expand_expr_real_1): Do not unnecessarily copy the object in the MEM_P case.

* expr.c (expand_expr_real_1) <VIEW_CONVERT_EXPR>: Do not unnecessarily
copy the object in the MEM_P case.

From-SVN: r192452
gcc/ChangeLog
gcc/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/unchecked_convert9.adb [new file with mode: 0644]
gcc/testsuite/gnat.dg/unchecked_convert9.ads [new file with mode: 0644]