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:
M. Rigger, S. Marr, B. Adams, и 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, (августа 2019)
T. Zhou, M. Jantz, P. Kulkarni, K. Doshi, и V. Sarkar. Proceedings of the 28th International Conference on Compiler Construction, стр. 147--158. New York, NY, USA, ACM, (2019)
G. Chari, D. Garbervetsky, и S. Marr. Proceedings of the 11th Workshop on Implementation, Compilation, Optimization of Object-Oriented Languages, Programs and Systems, стр. 5. (19.06.2017)
S. Ryu, и N. Ramsey. Compiler Construction: 14th International Conference, CC 2005, Held as Part of the Joint European Conferences on Theory and Practice of Software, ETAPS 2005, Edinburgh, UK, April 4-8, 2005. Proceedings, стр. 10--26. Springer, (2005)
V. Ureche, C. Talau, и M. Odersky. Proceedings of the 2013 ACM SIGPLAN International Conference on Object Oriented Programming Systems Languages &\#38; Applications, стр. 73--92. ACM, (2013)
H. Santos, P. Alves, I. Costa, и F. Quintao Pereira. Proceedings of the 2013 IEEE/ACM International Symposium on Code Generation and Optimization (CGO), стр. 1--11. IEEE Computer Society, (2013)
M. Chevalier-Boisvert, и M. Feeley. 30th European Conference on Object-Oriented Programming (ECOOP 2016), том 56 из Leibniz International Proceedings in Informatics (LIPIcs), стр. 7:1--7:24. Dagstuhl, Germany, Schloss Dagstuhl--Leibniz-Zentrum fuer Informatik, (2016)
S. Marr, и S. Ducasse. Proceedings of the 2015 ACM International Conference on Object Oriented Programming Systems Languages & Applications, стр. 821--839. ACM, (октября 2015)(acceptance rate 25%).
C. Häubl, C. Wimmer, и H. Mössenböck. Computer Languages, Systems & Structures, 39 (4):
123 - 141(2013)Special issue on the Programming Languages track at the 27th \ACM\ Symposium on Applied Computing.
R. Krishnaiyer, E. Kultursay, P. Chawla, S. Preis, A. Zvezdin, и H. Saito. Proceedings of the 2013 IEEE 27th International Symposium on
Parallel and Distributed Processing Workshops and PhD Forum, стр. 1575--1586. Washington, DC, USA, IEEE Computer Society, (2013)
Y. Park, S. Seo, H. Park, H. Cho, и S. Mahlke. Proceedings of the seventeenth international conference on
Architectural Support for Programming Languages and Operating
Systems, 40, стр. 363--374. ACM, (2012)
C. Bolz, A. Cuni, M. Fijalkowski, и A. Rigo. Proceedings of the 4th Workshop on the Implementation, Compilation, Optimization of Object-Oriented Languages and Programming Systems, стр. 18--25. ACM, (2009)
A. Carbon, Y. Lhuillier, и H. Charles. Proceedings of the 3rd International Workshop on Adaptive Self-Tuning Computing Systems, стр. 6:1--6:3. New York, NY, USA, ACM, (2013)
P. Rogers, и A. Wellings. Reliable Software Technologies - Ada-Europe 2004, том 3063 из Lecture Notes in Computer Science, Springer Berlin Heidelberg, (2004)
S. Chiba. Proceedings of the tenth annual conference on Object-oriented programming systems, languages, and applications, стр. 285--299. New York, NY, USA, ACM, (1995)
N. Ravi, Y. Yang, T. Bao, и S. Chakradhar. Proceedings of the 26th ACM international conference on Supercomputing, стр. 47--58. New York, NY, USA, ACM, (2012)
T. Würthinger, C. Wimmer, и H. Mössenböck. Science of Computer Programming, 74 (5–6):
279 - 295(2009)Special Issue on Principles and Practices of Programming in Java (PPPJ 2007).
U. Hölzle, C. Chambers, и D. Ungar. Proceedings of the ACM SIGPLAN 1992 conference on Programming language design and implementation, стр. 32--43. New York, NY, USA, ACM, (1992)
R. Kumar, и D. Tullsen. Proceedings of the 35th annual ACM/IEEE international symposium on Microarchitecture, стр. 419--429. Los Alamitos, CA, USA, IEEE Computer Society Press, (2002)
O. Serres, A. Anbar, S. Merchant, A. Kayi, и T. El-Ghazawi. Parallel and Distributed Processing Workshops and Phd Forum (IPDPSW), 2011 IEEE International Symposium on, стр. 1191--1198. (мая 2011)
W. Zhao, и Z. Wang. Proceedings of the Third Conference on Partitioned Global Address Space Programing Models, стр. 11:1--11:8. New York, NY, USA, ACM, (2009)
T. Würthinger. Proceedings of the ACM international conference companion on Object oriented programming systems languages and applications companion, стр. 41--42. New York, NY, USA, ACM, (2011)
V. Sundaresan, D. Maier, P. Ramarao, и M. Stoodley. Proceedings of the International Symposium on Code Generation and Optimization, стр. 87--97. Washington, DC, USA, IEEE Computer Society, (2006)
M. Tikir, J. Hollingsworth, и G. Lueh. Proceedings of the 2002 ACM SIGPLAN-SIGSOFT workshop on Program analysis for software tools and engineering, стр. 10--17. New York, NY, USA, ACM, (2002)
J. Ha, M. Haghighat, S. Cong, и K. McKinley. Workshop on Parallel Execution of Sequential Programs on Multicore Architectures (PESPMA 2009), (июня 2009)in conjunction with ISCA 09.
M. Paleczny, C. Vick, и C. Click. JVM'01: Proceedings of the 2001 Symposium on JavaTM Virtual Machine Research and Technology Symposium, стр. 1--1. Berkeley, CA, USA, USENIX Association, (2001)
C. Click, и M. Paleczny. IR '95: Papers from the 1995 ACM SIGPLAN workshop on Intermediate representations, стр. 35--49. New York, NY, USA, ACM, (1995)
N. AbouGhazaleh, B. Childers, D. Mosse, R. Melhem, и M. Craven. LCTES '03: Proceedings of the 2003 ACM SIGPLAN conference on Language, compiler, and tool for embedded systems, стр. 284--293. New York, NY, USA, ACM, (2003)
C. Lattner, и V. Adve. CGO '04: Proceedings of the international symposium on Code generation and optimization, стр. 75. Washington, DC, USA, IEEE Computer Society, (2004)