https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83389
--- Comment #1 from Luca Stoppa <lucanus81 at gmail dot com> --- Created attachment 42846 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42846&action=edit Generated assembler file The code was compiled with g++ -std=c++17 -O3 -S sample.cpp g++ --version: g++ (GCC) 7.2.0 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.