This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: HARD_REGNO_CALL_PART_CLOBBERED question (PR53595)
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Georg-Johann Lay <avr at gjlay dot de>
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 10 Jun 2012 17:41:28 -0400 (EDT)
- Subject: Re: HARD_REGNO_CALL_PART_CLOBBERED question (PR53595)
- References: <4FD1C464.90101@gjlay.de>
On Fri, 8 Jun 2012, Georg-Johann Lay wrote:
> I observed that HARD_REGNO_CALL_PART_CLOBBERED gets called with
> hard registers that HARD_REGNO_MODE_OK would reject.
>
> Is it save to set HARD_REGNO_CALL_PART_CLOBBERED to FALSE for
> hard registers for which HARD_REGNO_MODE_OK is FALSE?
IMHO it shouldn't matter. It seems like a bug that
HARD_REGNO_CALL_PART_CLOBBERED is called then.
Maybe an even more sinister bug is the cause?
(Like the one D.J. is/was on to recently.)
brgds, H-P