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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2023-07-28

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The clone seems not to have the attribute:
/app/example.cpp:20:1: note: Inlining test::~test()/10 to void g()/6 with
frequency 1.00
_ZN4testD2Ev/10 (test::~test()) @0x7f3fcc1bb220
  Type: function definition analyzed
  Visibility: semantic_interposition public
  next sharing asm name: 4
  References: __gxx_personality_v0/9 (addr) 
  Referring: 
  Function test::~test()/10 is inline copy in void g()/6
  Clone of _ZN4testD2Ev/4
  Availability: local
  Function flags: body local
  Called by: _Z1gv/6 (inlined) 
  Calls: _Z1fv/8 


Confirmed.

Reply via email to