This is the mail archive of the gcc-patches@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: [PATCH, alpha]: Fix PR42113


On 11/22/2009 10:28 AM, Uros Bizjak wrote:
- operands[5] = operands[0];
+ operands[5] = gen_lowpart (SImode, operands[0]);


operand[5] register is generated with:


+ operands[5] = gen_rtx_REG (SImode, REGNO (operands[0]));

We have assignment to (match_dup 5), and an assignment to a subreg is
probably not valid for a comparison operator we are splitting to.

The splitter is not constrained by reload_completed. Generating a new reg for a pseudo isn't valid.

The code was correct as reviewed, but not now.


r~



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