This is the mail archive of the
mailing list for the GCC project.
Re: ptx preliminary rtl patches [4/4]
- From: Jeff Law <law at redhat dot com>
- To: Bernd Schmidt <bernds at codesourcery dot com>, Steven Bosscher <stevenb dot gcc at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 29 Oct 2014 21:07:31 -0600
- Subject: Re: ptx preliminary rtl patches [4/4]
- Authentication-results: sourceware.org; auth=none
- References: <5411A337 dot 7000302 at codesourcery dot com> <CABu31nPir2YVbZGrYNMsEHZaM2_GV3EwvHzv=VNx3mOt57i+cA at mail dot gmail dot com> <54517CDE dot 1070008 at codesourcery dot com>
On 10/29/14 17:48, Bernd Schmidt wrote:
On 09/11/2014 05:58 PM, Steven Bosscher wrote:
On Thu, Sep 11, 2014 at 3:27 PM, Bernd Schmidt wrote:
It turns out that we're calling eliminate_regs for global variables
can't possibly have eliminable regs in their decl. At that point,
reg_eliminate can be NULL. This patch avoids unnecessary work, and
to add an assert to eliminate_regs later.
Bootstrapped and tested on x86_64-linux, together with the other
Why not use is_global_var()?
As discussed in a different subthread - that also works. Ok with that
Yes, assuming the usual bootstrap & regression testing shows now issues.