[llvm-bugs] [Bug 49178] New: clang hangs with simple input program
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Feb 14 10:27:09 PST 2021
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: unassignedclangbugs at nondot.org
Reporter: zhan3299 at purdue.edu
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
neeilans at live.com, richard-llvm at metafoo.co.uk
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210214/663d583a/attachment.html>
More information about the llvm-bugs
mailing list