https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80378
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
Last reconfirmed| |2025-09-02
--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed. I was just going to file a bug based on LLVM's
https://github.com/llvm/llvm-project/issues/155636 until I found this one.
Also I doubt inlining will help the use case in the other bug report.
I do think we should have some simple idea here.
Something like `alloc_size(1,3,'+')` for the cst form we could do
`alloc_size(-1,3,'<',CST)` where '<'.
So we `alloc_size(1,3)` is the same as `alloc_size(1,3,'*')`.