This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/66610] Compound assignments prevent value-numbering optimization with unions
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 20 Jun 2015 00:58:45 +0000
- Subject: [Bug tree-optimization/66610] Compound assignments prevent value-numbering optimization with unions
- Auto-submitted: auto-generated
- References: <bug-66610-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66610
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
Summary|Compound assignments |Compound assignments
|prevent value-numbering |prevent value-numbering
|optimization |optimization with unions
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
IIRC VN has some struct copy infrastructure which could be used here but unions
are special and that might the cause.