This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/26069] [4.1/4.2/4.3 Regression] Runtime endian-ness check is no longer optimized out.
- 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: 30 Apr 2008 03:47:22 -0000
- Subject: [Bug tree-optimization/26069] [4.1/4.2/4.3 Regression] Runtime endian-ness check is no longer optimized out.
- References: <bug-26069-12114@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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