As of this writing (but perhaps not for very much longer!) the four mainstream compilers on Godbolt Compiler Explorer give four different answers for this simple C++ program:
E. Navas-López. International Journal of Computer Science, Engineering and Information Technology (IJCSEIT), 12 (1):
1-20(February 2022)50\% contribution.
M. Rigger, S. Marr, B. Adams, and H. Mössenböck. Proceedings of the 2019 27th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering, ACM, (August 2019)
T. Zhou, M. Jantz, P. Kulkarni, K. Doshi, and V. Sarkar. Proceedings of the 28th International Conference on Compiler Construction, page 147--158. New York, NY, USA, ACM, (2019)