[Bug tree-optimization/111517] [12/13 Regression] Optimization -O1 removes necessary loop for initialization since r12-5915-ge93809f62363ba

2023-09-22 Thread aegges at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111517 --- Comment #6 from Axel Mueller --- I can confirm that the code now works with trunk version on godbolt. Thanks for the quick analysis (and of course the fix). Looking forward to the 12.4 fix release.

[Bug c++/111517] New: Optimization -O1 removes necessary loop for initialization

2023-09-21 Thread aegges at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111517 Bug ID: 111517 Summary: Optimization -O1 removes necessary loop for initialization Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal