[LLVMbugs] [Bug 22050] clang 3.5.0 generates invalid code for the conditional/ternary operator with -O1 or above in some cases

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Dec 29 11:29:56 PST 2014


http://llvm.org/bugs/show_bug.cgi?id=22050

David Majnemer <david.majnemer at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |david.majnemer at gmail.com
          Component|-New Bugs                   |Scalar Optimizations
            Version|3.5                         |trunk
         Resolution|---                         |WORKSFORME
           Assignee|unassignedclangbugs at nondot. |unassignedbugs at nondot.org
                   |org                         |
            Product|clang                       |libraries

--- Comment #1 from David Majnemer <david.majnemer at gmail.com> ---
This is almost certainly caused by r210006 which was subsequently fixed in
r222856.

I'm afraid that the upcoming 3.5.1 will not have this fix but trunk does and
3.6.0 will.

For the record, it does not reproduce with:
clang version 3.6.0 (trunk 224918) (llvm/trunk 224890)

-- 
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/20141229/1a093609/attachment.html>


More information about the llvm-bugs mailing list