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

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-08-16
          Component|tree-optimization           |lto
     Ever confirmed|0                           |1

--- Comment #4 from Uroš Bizjak <ubizjak at gmail dot com> ---
Yep, something is wrong with LTO:

/hdd/uros/gcc-build/gcc/xgcc -B
/hdd/uros/gcc-build/x86_64-pc-linux-gnu/libsanitizer/ -B
/hdd/uros/gcc-build/x86_64-pc-linux-gnu/libsanitizer/asan/ -B
/hdd/uros/gcc-build/x86_64-pc-linux-gnu/libsanitizer/asan/.libs -B
/hdd/uros/gcc-build/gcc -fstack-protector-strong -fsanitize=address -O2 -flto
-save-temps pr64820.c

produces ccbxiIwG.ltrans0.s with:

        movl    $-235802127, 2147450880(%rdx)
        movl    $-202116109, 2147451396(%rdx)
>>      movq    0, %rax
        movq    %rax, 4184(%rsp)
        xorl    %eax, %eax

Confirmed as LTO problem.

Reply via email to