diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2012-10-30 19:07:28 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2012-10-30 19:07:28 +0000 |
commit | 08e931f3b7bf16416bee1424065b7af462bd5819 (patch) | |
tree | 1357150fb34ab027be24b4f97411723036bf4979 /gcc/defaults.h | |
parent | 63cf72605a8365bb2fb5f27a0ea6121c74d32ac7 (diff) | |
download | gcc-08e931f3b7bf16416bee1424065b7af462bd5819.tar.gz |
defaults.h (SLOW_UNALIGNED_ACCESS): Provide default definition.
gcc/
* defaults.h (SLOW_UNALIGNED_ACCESS): Provide default definition.
* expmed.c (SLOW_UNALIGNED_ACCESS): Remove default definition.
* expr.c (SLOW_UNALIGNED_ACCESS): Likewise.
* lra-constraints.c (SLOW_UNALIGNED_ACCESS): Likewise.
(simplify_operand_subreg): Don't check STRICT_ALIGNMENT here.
From-SVN: r192992
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r-- | gcc/defaults.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h index 6eead33ba6c..76909ab2d7e 100644 --- a/gcc/defaults.h +++ b/gcc/defaults.h @@ -1218,6 +1218,10 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #define ATTRIBUTE_ALIGNED_VALUE BIGGEST_ALIGNMENT #endif +#ifndef SLOW_UNALIGNED_ACCESS +#define SLOW_UNALIGNED_ACCESS(MODE, ALIGN) STRICT_ALIGNMENT +#endif + /* For most ports anything that evaluates to a constant symbolic or integer value is acceptable as a constant address. */ #ifndef CONSTANT_ADDRESS_P |