[llvm-bugs] [Bug 39533] New: clang goes in infinite loop ?

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Nov 2 04:28:41 PDT 2018


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

            Bug ID: 39533
           Summary: clang goes in infinite loop ?
           Product: clang
           Version: 7.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: chantry.xavier at gmail.com
                CC: llvm-bugs at lists.llvm.org, richard-llvm at metafoo.co.uk

Created attachment 21071
  --> https://bugs.llvm.org/attachment.cgi?id=21071&action=edit
gdb backtrace

clang version 5.0.1 and 7.0.0 are no longer able to compile our code with -O or
-O2. It works with -O0 or in ASAN mode.
It worked fine with clang 3.9 and earlier with -O2.

The problem is that I don't own the code, and I don't know how to reduce it to
a test case, could you help me ?

It seems to be stuck in CGPassManager::RunPassOnSCC but afterwards the
backtrace is always different.

-- 
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/20181102/06d46a50/attachment.html>


More information about the llvm-bugs mailing list