[LLVMbugs] [Bug 21421] relocations for new removed when optimization turned on

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Apr 1 23:14:26 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=21421

Kevin Qin <kevinqindev at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |kevinqindev at gmail.com
         Resolution|---                         |INVALID

--- Comment #1 from Kevin Qin <kevinqindev at gmail.com> ---
As discussed in https://groups.google.com/forum/#!topic/llvm-dev/hRO_qRHFst4,
this is valid optimization from llvm instruction combining.

To avoid llvm optimizing this, please compile it with -ffreestanding.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150402/25212a24/attachment.html>


More information about the llvm-bugs mailing list