https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70116
--- Comment #2 from vries at gcc dot gnu.org --- Author: vries Date: Mon Mar 7 14:50:13 2016 New Revision: 234029 URL: https://gcc.gnu.org/viewcvs?rev=234029&root=gcc&view=rev Log: Skip ubsan/asan internal fns with different location in tail-merge 2016-03-07 Tom de Vries <t...@codesourcery.com> PR tree-optimization/70116 * tree-ssa-tail-merge.c (merge_stmts_p): New function, handling is_tm_ending stmts and ubsan/asan internal functions. (find_duplicate): Use it. Don't test is_tm_ending here. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-ssa-tail-merge.c