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] | |
On Fri, Aug 17, 2012 at 6:36 PM, Uros Bizjak <ubizjak@gmail.com> wrote:
> 2012-08-17 Uros Bizjak <ubizjak@gmail.com>
>
> PR rtl-optimization/46829
> * combine.c (recog_for_combine): Check operand constraints
> in case hard registers were propagater into insn pattern.
>
> testsuite/ChangeLog:
>
> 2012-08-17 Uros Bizjak <ubizjak@gmail.com>
>
> PR rtl-optimization/46829
> * gcc.target/i386/pr46829.c: New test.
>
> Patch was bootstrapped and regression tested on x86_64-pc-linux-gnu {,-m32}.
Oh ...
This part:
+ && rtx_equal_p (recog_data.operand[j],
+ recog_data.operand[op_alt[j].matches]))
should read:
+ && rtx_equal_p (recog_data.operand[i],
+ recog_data.operand[op_alt[j].matches]))
Note the "j" vs "i" array index difference in the first line.
Correct patch attached, bootstrapped and re-tested on
x86_64-pc-linux-gnu {,-m32}.
Uros.
Attachment:
r.diff.txt
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |