https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66815

--- Comment #1 from Patrick Marlier <patrick.marlier at gmail dot com> ---
Created attachment 35936
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35936&action=edit
reduced testcase

The .tm_clone_table section is not generated with LTO enabled.
$ gcc -fgnu-tm -O0  -flto -c -o pr66815.o pr66815.c
$ readelf -S pr66815.o | grep tm_clone_table

So crt cannot notify TM clones to libitm.

Reply via email to