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