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, middle-end]: Fix 35526, ICE on memcpy


On Tue, Mar 11, 2008 at 12:11 PM, Uros Bizjak <ubizjak@gmail.com> wrote:
> Hello!
>
>  As shown by the C++ testcase in PR middle-end/35526, we should avoid
>  calling convert_move if the mode of either the target or the
>  destination RTX is BLKmode.  Attached patch fixes this oversight by
>  calling emit_block_move instead.
>
>  2008-03-11  Uros Bizjak  <ubizjak@gmail.com>
>
>         PR middle-end/35526
>         * expr.c (store_expr): Call emit_block_move if the mode
>         of temp RTX is BLKmode.
>
>  testsuite/ChangeLog:
>
>  2008-03-11  Uros Bizjak  <ubizjak@gmail.com>
>
>         PR middle-end/35526
>
>         * g++.dg/torture/pr35526.C: New test.
>
>  Patch was bootstrapped and regression tested on x86_64-pc-linux-gnu
>  {,-m32}. The patch also reportedly fixes original test.
>
>  OK for 4.4/4.3/4.2 ?

Ok.

Thanks,
Richard.


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