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 target/24178] [4.0/4.1 regression] generates code that produces unaligned access exceptions



------- Comment #10 from rth at gcc dot gnu dot org  2005-11-02 07:43 -------
Created an attachment (id=10112)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10112&action=view)
proposed patch

The root problem is that get_aligned_mem and aligned_memory_operand
didn't match up.  Adding a bit of code to get_aligned_mem to handle
MEM_ALIGN as well appears to cure the problem.  I've not yet tested
this beyond Falk's trivial testcase.


-- 


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


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