[llvm-bugs] [Bug 45134] New: clang++ goes into infinite loop when compiling with -O2 -g

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Mar 5 23:27:19 PST 2020


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

            Bug ID: 45134
           Summary: clang++ goes into infinite loop when compiling with
                    -O2 -g
           Product: clang
           Version: 10.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: raj.khem at gmail.com
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at metafoo.co.uk

Created attachment 23212
  --> https://bugs.llvm.org/attachment.cgi?id=23212&action=edit
test case

attached testcase causes forever loop in clang++ 10.x, it works ok with 9.x
and if one of -g and -O2 is not used then it works ok too.

clang++ -O2 -pipe -g -c a.cpp

-- 
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/20200306/213f1e90/attachment.html>


More information about the llvm-bugs mailing list