[PATCH] Fix PR61320

2014-08-06 Thread Richard Biener
The following fixes PR61320 - we were not properly treating explicitely misaligned loads as misaligned. Tested by various people on their STRICT_ALIGN targets, applied to trunk and branch. Richard. 2014-08-06 Richard Biener rguent...@suse.de PR tree-optimization/61320 *

[PATCH] Fix PR61320: disable bswap for unaligned access on SLOW_UNALIGNED_ACCESS targets

2014-06-04 Thread Thomas Preud'homme
Hi there, It seems from PR61320 that the bswap pass causes some problems when it replaces an OR expression by an unaligned access. Although it's not clear yet why the unaligned load does not go through the extract_bit_field codepath, it is necessary to provide a solution as this prevent sparc

Re: [PATCH] Fix PR61320: disable bswap for unaligned access on SLOW_UNALIGNED_ACCESS targets

2014-06-04 Thread Richard Biener
On Wed, Jun 4, 2014 at 8:07 AM, Thomas Preud'homme thomas.preudho...@arm.com wrote: Hi there, It seems from PR61320 that the bswap pass causes some problems when it replaces an OR expression by an unaligned access. Although it's not clear yet why the unaligned load does not go through the