https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89889
Andrew Pinski changed:
What|Removed |Added
Severity|normal |enhancement
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89889
--- Comment #5 from Andrew Pinski ---
#include
void use(void*);
void compute()
{
auto p = alloca(500);
use(p);
}
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89889
--- Comment #4 from Richard Biener ---
The code we have for promoting __BUILTIN_ALLOCA_WITH_ALIGN should be probably
extended to also promote __BUILTIN_ALLOCA (or commented as to why we
explicitely
do not want to do that). See tree-ssa-ccp.c:fol
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89889
--- Comment #3 from Lokesh Janghel ---
Is there any target hooks for alloca? Should we do the same like
__builtin_alloca_with_align (array allocation) or we assume the problem as a
target based (prologue/epilogue optimization) issue?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89889
Richard Biener changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89889
Andrew Pinski changed:
What|Removed |Added
Keywords||missed-optimization
Component|c