https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70116
Bug ID: 70116
Summary: tail-merge merges ubsan internal fns with different
location information
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: vries at gcc dot gnu.org
Target Milestone: ---
https://gcc.gnu.org/ml/gcc-patches/2015-07/msg00758.html :
...
I'd actually think it would be better to give up on the
UBSAN_* internal calls in tail merging. Those internal pass
arguments based on their gimple_location, so tail merging breaks
them.
...