This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r144065 - in /trunk/gcc: ChangeLog function.h g...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 10 Feb 2009 16:22:29 -0000
- Subject: r144065 - in /trunk/gcc: ChangeLog function.h g...
Author: jakub
Date: Tue Feb 10 16:22:29 2009
New Revision: 144065
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144065
Log:
PR target/39139
* function.h (struct function): Add has_local_explicit_reg_vars
bit.
* gimplify.c (gimplify_bind_expr): Set it if local DECL_HARD_REGISTER
VAR_DECLs were seen.
* tree-ssa-live.c (remove_unused_locals): Recompute
cfun->has_local_explicit_reg_vars.
* tree-ssa-sink.c (statement_sink_location): Don't sink BLKmode
copies or clearings if cfun->has_local_explicit_reg_vars.
* gcc.target/i386/pr39139.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/i386/pr39139.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/function.h
trunk/gcc/gimplify.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-live.c
trunk/gcc/tree-ssa-sink.c