[Bug c++/114421] arm-none-eabi thumb -Os (and -O2) incorrectly optimizes out needed class member call

2024-03-21 Thread earlephilhower at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114421 --- Comment #2 from Earle F. Philhower, III --- Thanks very much for the fast explanation. For reference of others who might hit this, I see references to C11 6.8.5 pp 6 online (but of course it's an ISO document so not freely available). "An

[Bug c++/114421] New: arm-none-eabi thumb -Os (and -O2) incorrectly optimizes out needed class member call

2024-03-21 Thread earlephilhower at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114421 Bug ID: 114421 Summary: arm-none-eabi thumb -Os (and -O2) incorrectly optimizes out needed class member call Product: gcc Version: 12.3.0 Status: UNCONFIRMED S