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



------- Comment #10 from pinskia at gcc dot gnu dot org  2006-08-26 06:41 -------
(In reply to comment #8)
> Richard, Roger's patch for VIEW_CONVERT_EXPR folding hit mainline now.
And VCE is documented as being undefined for types of different sizes.
maybe we can produce VIEW_CONVERT_EXPR<char[sizeof(type)], expr>[0] but I don't
know if that solves the issue in the bug report.

I am going to look into producing the VCE as above for types which have the
same aliasing set or 0 and are either the same size or the outer one is a
factor of the larger one.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pinskia at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED


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]