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/26721] [4.2 Regression]: Gcc generates unaligned access



------- Comment #7 from sje at cup dot hp dot com  2006-03-16 23:06 -------
It looks to me like this is due to Richard Guenther's patch at:

http://gcc.gnu.org/ml/gcc-patches/2006-03/msg00737.html

When I removed the non-structure part of this patch the problem went away.
specifically I changed 
    align = MIN (inner, DECL_ALIGN (exp));
back to
    align = MIN (align, DECL_ALIGN (exp));
for the DECL_P case.


-- 


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


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