This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug target/26721] [4.2 Regression]: Gcc generates unaligned access
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: gcc-bugzilla at gcc dot gnu dot org
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 16 Mar 2006 19:40:30 -0500
- Subject: Re: [Bug target/26721] [4.2 Regression]: Gcc generates unaligned access
- References: <bug-26721-682@http.gcc.gnu.org/bugzilla/> <20060317003710.8310.qmail@sourceware.org>
On Mar 16, 2006, at 7:37 PM, schwab at suse dot de wrote:
------- Comment #15 from schwab at suse dot de 2006-03-17 00:37
-------
Both alpha and sparc can emulate unaligned accesses, and both set
STRICT_ALIGNMENT.
And PPC can emulate unalgined access (and does by default) and it
sets STRICT_ALIGNMENT to 0. Lets define it correctly for new targets
if they implement unaligned access in software.
-- Pinski