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: unassignedclangb...@nondot.org
          Reporter: raj.k...@gmail.com
                CC: llvm-bugs@lists.llvm.org, neeil...@live.com,
                    richard-l...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to