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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
   Target Milestone|---                         |11.3
   Last reconfirmed|                            |2021-09-30
             Status|UNCONFIRMED                 |NEW
          Component|c                           |tree-optimization
           Keywords|                            |diagnostic

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The reduced testcase does not match at all the original testcase really.

Here is one which closer represents the original testcase:
void msg_set_buf(const int *);
void clustering_hb_event_listener_buffer_size(int a) {
  void* succession_buffer = a>16? __builtin_malloc (a) : __builtin_alloca(a);
  msg_set_buf((const int*)succession_buffer);
  if (a>16) __builtin_free (succession_buffer);
}

Reply via email to