diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-30 19:07:28 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-30 19:07:28 +0000 |
commit | 341cc05220a409f909beff4e762d4c844fba7fc8 (patch) | |
tree | 1357150fb34ab027be24b4f97411723036bf4979 /gcc/defaults.h | |
parent | 11f20fbaf7e630e6fc7b5ec5fcc48c63b568348b (diff) | |
download | gcc-341cc05220a409f909beff4e762d4c844fba7fc8.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192992 138bc75d-0d04-0410-961f-82ee72b054a4
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 |