This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/35292] Missing Const Prop -- union fields



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]