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 tree-optimization/26069] [4.1/4.2/4.3 Regression] Runtime endian-ness check is no longer optimized out.



------- Comment #23 from pinskia at gcc dot gnu dot org  2008-04-30 03:47 -------
(In reply to comment #21)
> (In reply to comment #20)
> 
> > Here are 2 alternatives I've been playing with:
> 
> Any news on this patch?

The second patch looks like what is was done on the RTL level with respect of
DSE.  I am testing a patch to tree-ssa-forwprop that adds folding where the
sizes of the types are the same to use VIEW_CONVERT_EXPR.  This will allow us
to do the correct thing on the tree level for comment #11. Note we don't
convert it to a NOP_EXPR yet because it creates invalid gimple.  It also allows
us to "fixup" aliasing issues where the types are the same size so we will get
less bug reports about those cases.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26069


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