[Bug tree-optimization/94294] [missed optimization] new+delete of unused local string not removed

2022-02-14 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94294 Tamar Christina changed: What|Removed |Added CC||tnfchris at gcc dot gnu.org --- Commen

[Bug tree-optimization/94294] [missed optimization] new+delete of unused local string not removed

2020-03-24 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94294 --- Comment #4 from Marc Glisse --- I don't believe there is a "new/delete" issue.

[Bug tree-optimization/94294] [missed optimization] new+delete of unused local string not removed

2020-03-24 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94294 Richard Biener changed: What|Removed |Added Last reconfirmed||2020-03-24 Keywords|

[Bug tree-optimization/94294] [missed optimization] new+delete of unused local string not removed

2020-03-23 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94294 --- Comment #2 from Marc Glisse --- (In reply to Eyal Rozenberg from comment #0) > Note: I suppose it's theoretically possible that this bug only manifests > because bug 94293 prevents the allocated space from being recognized as > unused; but

[Bug tree-optimization/94294] [missed optimization] new+delete of unused local string not removed

2020-03-23 Thread eyalroz at technion dot ac.il
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94294 --- Comment #1 from Eyal Rozenberg --- Note: The bugs also manifest with this simpler program: #include int bar() { std::string second { "Hey... no small-string optimization for me please!" }; return 123; } See: https://godbolt.org/