This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC,mainline] PR21596 df bug: global regs should have a def on entry?
- From: Paolo Bonzini <paolo dot bonzini at lu dot unisi dot ch>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Andrew MacLeod <amacleod at redhat dot com>
- Date: Wed, 07 Mar 2007 14:38:53 +0100
- Subject: Re: [RFC,mainline] PR21596 df bug: global regs should have a def on entry?
- References: <1173192035.27286.29.camel@localhost.localdomain> <45EE7802.8020206@lu.unisi.ch>
- Reply-to: bonzini at gnu dot org
> This seems to be a bug in dataflow instead. It looks to me like we
> should add a def on entry for the global registers -- in this case
> %edi -- like we add a use on exit.
>
> This patch does this (bootstrap/regtest in progress, but I solicit
> comments now just to understand if it is the right approach). Does
> it look ok?
Bootstrap/regtest completed ok on i686-pc-linux-gnu.
Paolo