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 middle-end/27226] Compiler looses track of alignment for emit_block_move



------- Comment #8 from amylaar at gcc dot gnu dot org  2006-04-20 21:09 -------
(In reply to comment #7)
> I suggest you test on an architecture that traps on unaligned accesses, so as
> ia64 with the correct prctrl setup. 
I don't have access to an ia64 host, but sh-elf is a STRICT_ALIGNMENT target,
too.
> In particular you seem to miss that
> ARRAY_REF can have a custom index range that doesn't start with zero.

get_inner_reference should take care of that.

> Otherwise the patch looks reasonable, though you may wait on the backport of
> the bits from mainline for the 4.1 branch.

When I backported the mainline patch to our 4.1 based sources I've found that
it did ICE on dhrystone.  The 4.1 patch is completely re-written.  I'll have to
forward-port that when I find some time...


-- 


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


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