[Bug middle-end/89889] worse code compared to clang with alloca()

2021-12-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89889 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug middle-end/89889] worse code compared to clang with alloca()

2021-12-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
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); }

[Bug middle-end/89889] worse code compared to clang with alloca()

2019-05-20 Thread rguenth at gcc dot gnu.org
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

[Bug middle-end/89889] worse code compared to clang with alloca()

2019-04-26 Thread lokeshjanghel91 at gmail dot com
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?

[Bug middle-end/89889] worse code compared to clang with alloca()

2019-04-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89889 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/89889] worse code compared to clang with alloca()

2019-03-29 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89889 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Component|c