<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/89493>89493</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Hang Issue with LLVM: No Output or Error Message
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
iamanonymouscs
</td>
</tr>
</table>
<pre>
# Description
I noticed that the GNU Compiler Collection (GCC13) compiles it quickly and generates the binary file successfully(https://godbolt.org/z/Kh9a7GM4n). However, when I attempt to compile the same code using LLVM, the compilation process seems to hang indefinitely(https://godbolt.org/z/r9xbTYz7G).
# Command
`clang-18 code.c`
# Code
```c
int main(void)
{
#line 4294967290
#warning msg
}
```
# Version
```sh
$ clang-18 -v
Ubuntu clang version 18.1.4 (++20240410110416+b6ebea7972cd-1~exp1~20240410230431.95)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/13
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/9
Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/13
Candidate multilib: .;@m64
Selected multilib: .;@m64
```
# Output
After executing the command `clang++-18 code.c` in the command line, the cursor keeps creating new lines without any error messages or the generation of the compiled binary file.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy0VE2P2zYQ_TX0ZWCBorS2dNDB9laboEl6aBKgp4IixxIbilT54bVzyG8vKNneZAsUPbSAAYOc94ZvRm-Ge696g9iQhz15eFzxGAbrGsVHbqy5jDZ64VedlZeGsAIe0QunpqCsIfSR0N1bMDYogRLCwAOEAeHpwyc42HFSGh0crNYoEh4Iq54Oh7wgrAaxxD2oAH9GJb7oC3AjoUeDjgf0c6ZOGe4ucFQawUch0Ptj1PpCWDWEMHlS7AhrCWt7KzurQ2ZdT1j7lbD256Hm26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