[Bug tree-optimization/58817] optimize alloca with constant size

2021-12-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58817 Andrew Pinski changed: What|Removed |Added CC||sdmike9r at liargroup dot com --- Commen

[Bug tree-optimization/58817] optimize alloca with constant size

2021-12-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58817 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/58817] optimize alloca with constant size

2013-10-22 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58817 --- Comment #3 from Marc Glisse --- (In reply to Jakub Jelinek from comment #1) > Transforming VLAs that way isn't a good idea, at least if the size isn't > really small, at least when the VLA isn't in a scope that dies at the > function's end (or

[Bug tree-optimization/58817] optimize alloca with constant size

2013-10-21 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58817 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1 f

[Bug tree-optimization/58817] optimize alloca with constant size

2013-10-21 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58817 --- Comment #2 from Richard Biener --- We do this transform in fold_builtin_alloca_with_align (), I'm not sure but maybe it does not happen because 'a' escapes to f.