[Bug rtl-optimization/69606] [5/6 Regression] wrong code at -Os and above on x86_64-linux-gnu
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 2 09:47:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69606
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Testing
Index: gcc/tree-ssa-math-opts.c
===================================================================
*** gcc/tree-ssa-math-opts.c (revision 233067)
--- gcc/tree-ssa-math-opts.c (working copy)
*************** bswap_replace (gimple *cur_stmt, gimple
*** 2622,2627 ****
--- 2622,2629 ----
/* Move cur_stmt just before one of the load of the original
to ensure it has the same VUSE. See PR61517 for what could
go wrong. */
+ if (gimple_bb (cur_stmt) != gimple_bb (src_stmt))
+ reset_flow_sensitive_info (gimple_assign_lhs (cur_stmt));
gsi_move_before (&gsi, &gsi_ins);
gsi = gsi_for_stmt (cur_stmt);
More information about the Gcc-bugs
mailing list