This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Trying to track down a register allocation issue
- From: Joern Rennecke <amylaar at spamcop dot net>
- To: Paul_Koning at Dell dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 14 May 2012 17:47:35 -0400
- Subject: Re: Trying to track down a register allocation issue
- References: <02A65D3C-CFC0-47E0-A4CD-85E2F49C1537@dell.com>
Quoting Paul_Koning@Dell.com:
I'm running into an ICE due to what looks like wrong register
allocation, and I'm trying to figure out where the problem lies. It
shows up with today's GCC (trunk). I haven't yet tried to narrow
it down to a particular change.
It shows up in the pdp11 target, -O2. Not clear that this is pdp11 specific.
If a match test is confused with an overlap test somehwhere, the incidence
would be influenced by the endianness. The little-endian equivalent
would be (reg:SI 2) versus (reg:HI 3). Except that the latter wouldn't
tend to be created by (misdirected) attempts to tie modes of different sizes.
And of course you have a word size factor here; on a 32 or 64 bit target,
you need larger modes to get multi-hard-register pseudos.