https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118864
Bug ID: 118864
Summary: Add nomerge attribute
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: pinskia at gcc dot gnu.org
Blocks: 118198
Target Milestone: ---
clang added a nomerge attribute:
https://clang.llvm.org/docs/AttributeReference.html#nomerge
Which GCC should have. Also it would be useful to add it to __builtin_trap and
__builtin_abort (and move the asan internal functions over to use it).
tail-merge should be changed to use the attribute instead of special casing the
internal functions.
Cross jumping needs also to changed (but I am not 100% where though).
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118198
[Bug 118198] tail merge/cross jump should not merge abort