This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Should "can_create_pseudo_p" check "lra_in_progress"?


On 10/5/18 7:04 AM, Andrew Stubbs wrote:
> I just tracked down a "reload" bug and was very surprised to find that
> can_create_pseudo_p doesn't return false during register allocation when
> using LRA.
> 
> It's still defined like this:
> 
> #define can_create_pseudo_p() (!reload_in_progress && !reload_completed)
> 
> Is it deliberate that it doesn't check lra_in_progress?
I think its deliberate.  IRA and I believe LRA can create pseudos while
they are running.  Vlad would know for certain.

Jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]