This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ptx preliminary rtl patches [4/4]
- From: Steven Bosscher <stevenb dot gcc at gmail dot com>
- To: Bernd Schmidt <bernds at codesourcery dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 11 Sep 2014 17:58:09 +0200
- Subject: Re: ptx preliminary rtl patches [4/4]
- Authentication-results: sourceware.org; auth=none
- References: <5411A337 dot 7000302 at codesourcery dot com>
On Thu, Sep 11, 2014 at 3:27 PM, Bernd Schmidt wrote:
> It turns out that we're calling eliminate_regs for global variables which
> can't possibly have eliminable regs in their decl. At that point,
> reg_eliminate can be NULL. This patch avoids unnecessary work, and allows us
> to add an assert to eliminate_regs later.
>
> Bootstrapped and tested on x86_64-linux, together with the other patches.
> Ok?
Why not use is_global_var()?
Ciao!
Steven