https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110546
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail| |11.1.0, 12.1.0 Status|UNCONFIRMED |NEW Last reconfirmed| |2023-07-04 Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed. >I believe this happens because the compiler does not recognize that >alloc.constprop is a valid allocation function No that is not the issue. This code to figure out the mistmatch seems too complex for my liking. The attribute is still there: __attribute__((malloc (deallocD.2759, 1), noinline)) voidD.53 * alloc.constpropD.2777 ()