<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/63318>63318</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang 16.0.0 crash when compiling program with exceptions
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
dje64240
</td>
</tr>
</table>
<pre>
I made a small C++ program from a bigger one, to be able to isolate the issue and to compile it as standalone code.
Clang 16.0.0 on Windows crashes when compiling it using -O2.
C++ file: [https://github.com/dje64240/clang-crash](url)
Compiled with: **clang -c -O2 crash.cpp**
Result: [crash.txt](https://github.com/llvm/llvm-project/files/11749921/crash.txt)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUkk-PmzwQhz_NcBkF2cOfhAOHZFeR3tMr9dKzwRPwytgIm2b77SsDaaseKvWEJeNnnpn5qRDM4JhbqG5QvWdqjaNfWv3BdUmlyDqvv7f_4aQ0o8IwKWvxDegGdMN58cOiJnwsfkKFnRkGXtA7BnrD6LFjVJ3ldDTBWxUZ48hoQlgZldPpovfTbCyjiagChqicVtY7xt5rzkG8g7i-WeUGlHUucoHe4VfjtH8G7BcVRg74HNkdIOOGhFpDOpz-p4NwcA7vh7EMxRWhuo0xzgGKK9Ad6D6YOK5d3vsJ6P4aAdC9TwKnrRxU70CXdbFAzUHdO9D4NHHcsHQFum5v8NQni9007-d5v9sffuGw2niI7H_Ez7gX-IuXtd9en9O8-A_uI9A99RSA7lKey6Yhmax_Il-qmW4L3RSNyriV9aU-n-W5abKxvRRFyaw7UQsualFWj1JUgrhS4iGkFplpSVAhalnKpixkk8uuvFy6ulaVpl7IGkrBkzI2T165X4ZsW3NbF4W8ZFZ1bMOWMSLHzz0DQJQit7RbL906BCiFNSGGX5RoouW2_z0BW19_Lv2VxbQE5M-e52i8C9m62Pafh7nZpWlu9j8CAAD__7wW-5M">