[llvm-bugs] [Bug 34569] New: Clang runs indefinitely at -O3

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Sep 12 02:10:45 PDT 2017


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

            Bug ID: 34569
           Summary: Clang runs indefinitely at -O3
           Product: clang
           Version: 5.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: weiss at wsoptics.de
                CC: dgregor at apple.com, llvm-bugs at lists.llvm.org

Created attachment 19142
  --> https://bugs.llvm.org/attachment.cgi?id=19142&action=edit
C++ source that brings clang-5 into an infinite loop wiht -O3

The attached reduced C++ code compiles with

clang++-4.0 -emit-llvm -S -O3 -std=c++14 c.ii

as well as with

clang++-5.0 -emit-llvm -S -O2 -std=c++14 c.ii

However, it appears to run indefinitely with

clang++-5.0 -emit-llvm -S -O3 -std=c++14 c.ii

-- 
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/20170912/d39bd2e2/attachment.html>


More information about the llvm-bugs mailing list