[Bug c++/79578] Unnecessary instructions in generated code

maxim.yegorushkin at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Feb 17 14:13:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79578

--- Comment #1 from Maxim Egorushkin <maxim.yegorushkin at gmail dot com> ---
clang-3.9.1 generates code that I expect:

f(char*):                                 # @f(char*)
        movl    $131073, (%rdi)         # imm = 0x20001
        movq    %rdi, %rax
        retq


More information about the Gcc-bugs mailing list