This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/35292] Missing Const Prop -- union fields
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Feb 2008 05:50:10 -0000
- Subject: [Bug middle-end/35292] Missing Const Prop -- union fields
- References: <bug-35292-9436@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pinskia at gcc dot gnu dot org 2008-02-23 05:50 -------
More than just constant prop, see PR 25972 for more info on what else it can be
done with union in the same way.
Actually I think MEM_REF will make it worse and will not help. In fact I still
think MEM_REF is a bad idea and will cause worse aliasing issues with unions
than that are already done.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Keywords| |missed-optimization
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35292