This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/77295] missed optimisation when copying/moving union members
- From: "avi at cloudius-systems dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 19 Aug 2016 07:23:35 +0000
- Subject: [Bug middle-end/77295] missed optimisation when copying/moving union members
- Authentication-results: sourceware.org; auth=none
- Auto-submitted: auto-generated
- References: <bug-77295-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77295
--- Comment #3 from Avi Kivity <avi@cloudius-systems.com> ---
If x->which is known then of course just that branch should be followed, and
the others eliminated. I'm talking about the case where it isn't known (very
common in my code).