------- Comment #18 from rguenth at gcc dot gnu dot org  2010-02-22 10:27 
-------
(In reply to comment #17)
> Is there a way to pass alignment information similar to PR 39954?

Well, that wasn't really a true fix but simply restored the (broken) behavior
of earlier compilers so the 4.5 regression is gone ...

> Otherwise, a proper fix would be some inter-procedural analysis... Meantime, 
> we
> can do intra-procedural analysis and fail when we reach function argument, 
> i.e,
> use runtime checks. We already have several types of versioning, so adding
> another one will complicate the things even more, and will not always be
> possible (because of code size constrains).

Yes, we need to propagate (mis-)alignment information properly.  My plan for
4.6 is to add (mis-)alignemnt information to SSA_NAME_PTR_INFO and have
a simple propagator computing it.

Richard.


-- 


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

Reply via email to