Author: rsandifo
Date: Fri Jan 6 14:56:46 2012
New Revision: 182955
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182955
Log:
gcc/
PR middle-end/48660
* expr.h (copy_blkmode_to_reg): Declare.
* expr.c (copy_blkmode_to_reg): New function.
(expand_assignment): Don't expand register RESULT_DECLs before
the lhs. Use copy_blkmode_to_reg to copy BLKmode values into a
RESULT_DECL register.
(expand_expr_real_1): Handle BLKmode decls when looking for promotion.
gcc/testsuite/
PR middle-end/48660
* g++.dg/pr48660.C: New test.
Author: rsandifo
Date: Fri Jan 6 14:56:46 2012
New Revision: 182955
URL: http:// gcc.gnu. org/viewcvs? root=gcc& view=rev& rev=182955 to_reg) : Declare. to_reg) : New function. assignment) : Don't expand register RESULT_DECLs before expr_real_ 1): Handle BLKmode decls when looking for promotion.
Log:
gcc/
PR middle-end/48660
* expr.h (copy_blkmode_
* expr.c (copy_blkmode_
(expand_
the lhs. Use copy_blkmode_to_reg to copy BLKmode values into a
RESULT_DECL register.
(expand_
gcc/testsuite/
PR middle-end/48660
* g++.dg/pr48660.C: New test.
Added: gcc-4_6- branch/ gcc/testsuite/ g++.dg/ pr48660. C gcc-4_6- branch/ gcc/ChangeLog gcc-4_6- branch/ gcc/expr. c gcc-4_6- branch/ gcc/expr. h gcc-4_6- branch/ gcc/testsuite/ ChangeLog
branches/
Modified:
branches/
branches/
branches/
branches/