http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48144
--- Comment #7 from Andrey Belevantsev <abel at gcc dot gnu.org> 2011-04-07 12:07:29 UTC --- Author: abel Date: Thu Apr 7 12:07:24 2011 New Revision: 172097 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172097 Log: Backport from mainline 2011-03-26 Andrey Belevantsev <a...@ispras.ru> PR rtl-optimization/48144 * sel-sched-ir.c (merge_history_vect): Factor out from ... (merge_expr_data): ... here. (av_set_intersect): Rename to av_set_code_motion_filter. Update all callers. Call merge_history_vect when an expression is found in both sets. * sel-sched-ir.h (av_set_code_motion_filter): Add prototype. Added: branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/pr48144.c Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/sel-sched-ir.c branches/gcc-4_6-branch/gcc/sel-sched-ir.h branches/gcc-4_6-branch/gcc/sel-sched.c branches/gcc-4_6-branch/gcc/testsuite/ChangeLog