[llvm-bugs] [Bug 26420] New: Compilation of attached code with -O2 takes infinitely long, -O1 works.

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Feb 1 11:03:44 PST 2016


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

            Bug ID: 26420
           Summary: Compilation of attached code with -O2 takes infinitely
                    long, -O1 works.
           Product: clang
           Version: 3.7
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: andreas.neiser at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 15789
  --> https://llvm.org/bugs/attachment.cgi?id=15789&action=edit
Auto-generated clang script

The attached auto-generated code takes infinitely long with optimization level
2 (-O2). When switching to -O1, it works fine. 

Using clang on ArchLinux:

clang version 3.7.1 (tags/RELEASE_371/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix

Maybe that's already fixed in upstream, and somebody could quickly test that
with the attached scripts/source file.

-- 
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/20160201/5b073cf9/attachment.html>


More information about the llvm-bugs mailing list