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

            Bug ID: 49178
           Summary: clang hangs with simple input program
           Product: clang
           Version: 10.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]

Hi,

I have a simple program (which can be accepted by GCC). It will make clang
(version 6.0.0 - 10.0.0) hang for a very long time.

In my case, clang had not finished compilation in one hour.

=== detailed information ===

$ cat poc.cc
int a;
long b;
double c;
int main() { asm("" : "=rm"(a), "=d"(c) : "1"(b || 0)); }

$ gcc poc.cc

$ echo $?
0

$ clang poc.cc
# never end...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to