<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/134789>134789</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Bytecode interpreter: Union fields are activated too eagerly
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang:frontend,
clang:bytecode
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
tbaederr
</td>
</tr>
</table>
<pre>
See for example: https://godbolt.org/z/453c61feh
How far up the hierarchy from a pointer we should activate is based on the syntactical structure, i.e. we need to get that information from the AST.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxckcFunjAQhJ_GXFZBxjYBDj6QRKj3tA9g4wVcGRvZS9K_T1_x91db9bSH0c5ovjGl-DUiata-sPatMidtKWuyBh3mXNnkbvodEZaUAX-Y_QjI5Agb0VGYHJmYmJjW5GwKVKe8MjH9ZGJSrZyfmwU3xkfGxy_pExaT4TyANoTNYzZ53m6w5LSDgSP5SJjhE6Fs6QwOzEz-wxCCL2BNQQcp3n_LLdIlziZAoXzOdGZk4hV8jfVlEBEdUIIVCWgzBD4uKe-GfIq_8y6b8f1rXTkt3SAHU6FuOqV437dcVZt2yixKtHJYemeH2Srhejv0pu24a5qhq7wWXLRc8Z63vFGqfha9W2SPwnW8l51kiuNufKhD-NgvLpUv5UTdSNX1QxWMxVDu0IWYg4krk-OSUySMjgnBxOs_gr0RzsnhJbRvVdaX6ZM918IUD75Q-RtDngLql8cH3LEeGQnzNdu3eIfgMbgCJuMfzBexBGhWzOFWnTno_xb2tJ22ntPOxHSFPc7TkdN3nImJ6V6wMDE9On5o8SsAAP__96fHMQ">