https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118016
--- Comment #4 from geza.herman at gmail dot com --- Thanks! After reading the links, I still think that the current behavior is bad (the arguments in the docs weren't convincing, tbh), but it seems that it is supposed to be like this, so arguing for changing it is out of scope here I guess. Also note, that my report is for C++, there is a related CWG: https://cplusplus.github.io/CWG/issues/2752.html and https://github.com/cplusplus/papers/issues/1584 (these are the same links as in the stackoverflow answer in https://stackoverflow.com/a/79274730/8157187).